aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Pall <mike>2010-12-31 04:09:32 +0100
committerMike Pall <mike>2010-12-31 04:09:32 +0100
commit783dbd335f8b4f08fdcfb62ebc625570ee8a2362 (patch)
treea362c3cbca34e225c99cf146f8abc1cc4e19c996 /lib
parent1716540c55e8d432f17ea6c0666b1427a485ff4a (diff)
downloadluajit-783dbd335f8b4f08fdcfb62ebc625570ee8a2362.tar.gz
luajit-783dbd335f8b4f08fdcfb62ebc625570ee8a2362.tar.bz2
luajit-783dbd335f8b4f08fdcfb62ebc625570ee8a2362.zip
Refactoring of conversion ops, part 5: drop TOINT/TOI64/TONUM.
Diffstat (limited to 'lib')
-rw-r--r--lib/dump.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/dump.lua b/lib/dump.lua
index 39dc241d..5c127ae9 100644
--- a/lib/dump.lua
+++ b/lib/dump.lua
@@ -222,7 +222,6 @@ span.irt_int, span.irt_i8, span.irt_u8, span.irt_i16, span.irt_u16 { color: #b04
222local colorize, irtype 222local colorize, irtype
223 223
224-- Lookup tables to convert some literals into names. 224-- Lookup tables to convert some literals into names.
225local tointname = { [0] = "check", "index", "", "Z", "S", "T", }
226local litname = { 225local litname = {
227 ["SLOAD "] = setmetatable({}, { __index = function(t, mode) 226 ["SLOAD "] = setmetatable({}, { __index = function(t, mode)
228 local s = "" 227 local s = ""
@@ -246,8 +245,6 @@ local litname = {
246 t[mode] = s 245 t[mode] = s
247 return s 246 return s
248 end}), 247 end}),
249 ["TOINT "] = tointname,
250 ["TOI64 "] = tointname,
251 ["FLOAD "] = vmdef.irfield, 248 ["FLOAD "] = vmdef.irfield,
252 ["FREF "] = vmdef.irfield, 249 ["FREF "] = vmdef.irfield,
253 ["FPMATH"] = vmdef.irfpm, 250 ["FPMATH"] = vmdef.irfpm,