diff options
author | Mike Pall <mike> | 2021-07-19 16:05:05 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-07-19 16:05:05 +0200 |
commit | 44bd7437a27e0d19bcf878c20ad27a673f17f40b (patch) | |
tree | 41159e44ee5bf87b2b67c7de55df8203d7b3d067 /src | |
parent | 98f95f69180d48ce49289d6428b46a9ccdd67a46 (diff) | |
download | luajit2-44bd7437a27e0d19bcf878c20ad27a673f17f40b.tar.gz |
Fix jit.dump() output for IR_CONV.
Diffstat (limited to 'src')
-rw-r--r-- | src/jit/dump.lua | 2 |
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 |