diff options
| author | Mike Pall <mike> | 2010-12-06 16:18:18 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2010-12-06 18:21:51 +0100 |
| commit | 159f51d8113555853a3325462f802010d4aac024 (patch) | |
| tree | 270b24defe097629df0cf6afa021747babf31c75 /lib | |
| parent | f6c4e8d3d70aa891de5a923a88ff670caef0a59d (diff) | |
| download | luajit-159f51d8113555853a3325462f802010d4aac024.tar.gz luajit-159f51d8113555853a3325462f802010d4aac024.tar.bz2 luajit-159f51d8113555853a3325462f802010d4aac024.zip | |
Add IR_TOI64.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dump.lua | 6 |
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 | ||
| 220 | local colorize, irtype | 220 | local colorize, irtype |
| 221 | 221 | ||
| 222 | -- Lookup table to convert some literals into names. | 222 | -- Lookup tables to convert some literals into names. |
| 223 | local tointname = { [0] = "check", "index", "", "Z", "S", "T", } | ||
| 223 | local litname = { | 224 | local 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, |
