diff options
author | Mike Pall <mike> | 2013-02-22 20:39:25 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2013-02-23 01:19:00 +0100 |
commit | b359ce804bb52585815fc52d7846202db4341acb (patch) | |
tree | 47ce07e6dc9403ce9e6b775c8d2f6d77360c6605 /src/jit/dump.lua | |
parent | fdc0ce8debd46bdf35aaec320eef3105055e90b5 (diff) | |
download | luajit-b359ce804bb52585815fc52d7846202db4341acb.tar.gz luajit-b359ce804bb52585815fc52d7846202db4341acb.tar.bz2 luajit-b359ce804bb52585815fc52d7846202db4341acb.zip |
Remove obsolete non-truncating number to integer conversions.
Diffstat (limited to 'src/jit/dump.lua')
-rw-r--r-- | src/jit/dump.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/dump.lua b/src/jit/dump.lua index b9c6cf41..7f930f51 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua | |||
@@ -269,8 +269,7 @@ local litname = { | |||
269 | ["CONV "] = setmetatable({}, { __index = function(t, mode) | 269 | ["CONV "] = setmetatable({}, { __index = function(t, mode) |
270 | local s = irtype[band(mode, 31)] | 270 | local s = irtype[band(mode, 31)] |
271 | s = irtype[band(shr(mode, 5), 31)].."."..s | 271 | s = irtype[band(shr(mode, 5), 31)].."."..s |
272 | if band(mode, 0x400) ~= 0 then s = s.." trunc" | 272 | if band(mode, 0x800) ~= 0 then s = s.." sext" end |
273 | elseif band(mode, 0x800) ~= 0 then s = s.." sext" end | ||
274 | local c = shr(mode, 14) | 273 | local c = shr(mode, 14) |
275 | if c == 2 then s = s.." index" elseif c == 3 then s = s.." check" end | 274 | if c == 2 then s = s.." index" elseif c == 3 then s = s.." check" end |
276 | t[mode] = s | 275 | t[mode] = s |