Refactoring of conversion ops, part 5: drop TOINT/TOI64/TONUM.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user