summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2021-07-19 16:05:05 +0200
committerMike Pall <mike>2021-07-19 16:05:05 +0200
commit44bd7437a27e0d19bcf878c20ad27a673f17f40b (patch)
tree41159e44ee5bf87b2b67c7de55df8203d7b3d067
parent98f95f69180d48ce49289d6428b46a9ccdd67a46 (diff)
downloadluajit2-44bd7437a27e0d19bcf878c20ad27a673f17f40b.tar.gz
Fix jit.dump() output for IR_CONV.
-rw-r--r--src/jit/dump.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/dump.lua b/src/jit/dump.lua
index e7f694d6..22568ac7 100644
--- a/src/jit/dump.lua
+++ b/src/jit/dump.lua
@@ -272,7 +272,7 @@ local litname = {
s = irtype[band(shr(mode, 5), 31)].."."..s
if band(mode, 0x400) ~= 0 then s = s.." trunc"
elseif band(mode, 0x800) ~= 0 then s = s.." sext" end
- local c = shr(mode, 14)
+ local c = shr(mode, 12)
if c == 2 then s = s.." index" elseif c == 3 then s = s.." check" end
t[mode] = s
return s