Refactoring of conversion ops, part 5: drop TOINT/TOI64/TONUM.

This commit is contained in:
Mike Pall
2010-12-31 04:09:32 +01:00
parent 1716540c55
commit 783dbd335f
4 changed files with 2 additions and 186 deletions

View File

@@ -222,7 +222,6 @@ span.irt_int, span.irt_i8, span.irt_u8, span.irt_i16, span.irt_u16 { color: #b04
local colorize, irtype
-- Lookup tables to convert some literals into names.
local tointname = { [0] = "check", "index", "", "Z", "S", "T", }
local litname = {
["SLOAD "] = setmetatable({}, { __index = function(t, mode)
local s = ""
@@ -246,8 +245,6 @@ local litname = {
t[mode] = s
return s
end}),
["TOINT "] = tointname,
["TOI64 "] = tointname,
["FLOAD "] = vmdef.irfield,
["FREF "] = vmdef.irfield,
["FPMATH"] = vmdef.irfpm,