mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix type-based colorization of snapshot slots in debug output.
This commit is contained in:
parent
d0b283e596
commit
70071241bf
@ -307,7 +307,7 @@ local function printsnap(tr, snap)
|
|||||||
out:write(formatk(tr, ref))
|
out:write(formatk(tr, ref))
|
||||||
else
|
else
|
||||||
local m, ot, op1, op2 = traceir(tr, ref)
|
local m, ot, op1, op2 = traceir(tr, ref)
|
||||||
out:write(colorize(format("%04d", ref), band(ot, 15)))
|
out:write(colorize(format("%04d", ref), band(ot, 31)))
|
||||||
end
|
end
|
||||||
out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME
|
out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user