diff options
author | Mike Pall <mike> | 2010-12-08 20:37:22 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-12-08 20:37:22 +0100 |
commit | 70071241bfbd06a02d61c6bfcc66e35eb7704d81 (patch) | |
tree | af50ebeece5f3f92b10e519da0b632a30faef660 /lib | |
parent | d0b283e596b3ea7da7438b1a17f4ecfb98e7c97a (diff) | |
download | luajit-70071241bfbd06a02d61c6bfcc66e35eb7704d81.tar.gz luajit-70071241bfbd06a02d61c6bfcc66e35eb7704d81.tar.bz2 luajit-70071241bfbd06a02d61c6bfcc66e35eb7704d81.zip |
Fix type-based colorization of snapshot slots in debug output.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dump.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dump.lua b/lib/dump.lua index 687d79db..f476f3f0 100644 --- a/lib/dump.lua +++ b/lib/dump.lua | |||
@@ -307,7 +307,7 @@ local function printsnap(tr, snap) | |||
307 | out:write(formatk(tr, ref)) | 307 | out:write(formatk(tr, ref)) |
308 | else | 308 | else |
309 | local m, ot, op1, op2 = traceir(tr, ref) | 309 | local m, ot, op1, op2 = traceir(tr, ref) |
310 | out:write(colorize(format("%04d", ref), band(ot, 15))) | 310 | out:write(colorize(format("%04d", ref), band(ot, 31))) |
311 | end | 311 | end |
312 | out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME | 312 | out:write(band(sn, 0x10000) == 0 and " " or "|") -- SNAP_FRAME |
313 | else | 313 | else |