aboutsummaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit')
-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 98933971..e5871b8d 100644
--- a/src/jit/dump.lua
+++ b/src/jit/dump.lua
@@ -378,7 +378,7 @@ local function ridsp_name(ridsp, ins)
378 if not disass then disass = require("jit.dis_"..jit.arch) end 378 if not disass then disass = require("jit.dis_"..jit.arch) end
379 local rid, slot = band(ridsp, 0xff), shr(ridsp, 8) 379 local rid, slot = band(ridsp, 0xff), shr(ridsp, 8)
380 if rid == 253 or rid == 254 then 380 if rid == 253 or rid == 254 then
381 return slot == 0 and " {sink" or format(" {%04d", ins-slot) 381 return (slot == 0 or slot == 255) and " {sink" or format(" {%04d", ins-slot)
382 end 382 end
383 if ridsp > 255 then return format("[%x]", slot*4) end 383 if ridsp > 255 then return format("[%x]", slot*4) end
384 if rid < 128 then return disass.regname(rid) end 384 if rid < 128 then return disass.regname(rid) end