aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Pall <mike>2010-12-06 16:18:18 +0100
committerMike Pall <mike>2010-12-06 18:21:51 +0100
commit159f51d8113555853a3325462f802010d4aac024 (patch)
tree270b24defe097629df0cf6afa021747babf31c75 /lib
parentf6c4e8d3d70aa891de5a923a88ff670caef0a59d (diff)
downloadluajit-159f51d8113555853a3325462f802010d4aac024.tar.gz
luajit-159f51d8113555853a3325462f802010d4aac024.tar.bz2
luajit-159f51d8113555853a3325462f802010d4aac024.zip
Add IR_TOI64.
Diffstat (limited to 'lib')
-rw-r--r--lib/dump.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dump.lua b/lib/dump.lua
index 3c726484..687d79db 100644
--- a/lib/dump.lua
+++ b/lib/dump.lua
@@ -219,7 +219,8 @@ span.irt_int, span.irt_i8, span.irt_u8, span.irt_i16, span.irt_u16 { color: #b04
219 219
220local colorize, irtype 220local colorize, irtype
221 221
222-- Lookup table to convert some literals into names. 222-- Lookup tables to convert some literals into names.
223local tointname = { [0] = "check", "index", "", "Z", "S", "T", }
223local litname = { 224local litname = {
224 ["SLOAD "] = setmetatable({}, { __index = function(t, mode) 225 ["SLOAD "] = setmetatable({}, { __index = function(t, mode)
225 local s = "" 226 local s = ""
@@ -233,7 +234,8 @@ local litname = {
233 return s 234 return s
234 end}), 235 end}),
235 ["XLOAD "] = { [0] = "", "R", "U", "RU", }, 236 ["XLOAD "] = { [0] = "", "R", "U", "RU", },
236 ["TOINT "] = { [0] = "check", "index", "", }, 237 ["TOINT "] = tointname,
238 ["TOI64 "] = tointname,
237 ["FLOAD "] = vmdef.irfield, 239 ["FLOAD "] = vmdef.irfield,
238 ["FREF "] = vmdef.irfield, 240 ["FREF "] = vmdef.irfield,
239 ["FPMATH"] = vmdef.irfpm, 241 ["FPMATH"] = vmdef.irfpm,