summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2014-02-28 14:09:34 +0100
committerMike Pall <mike>2014-02-28 14:09:34 +0100
commite94150877da95140db47a4e58e14cc9000be273c (patch)
tree781dedf16ad79e2aeb835c88238e33f159469024
parentef3cc47f9fb7df9ed2d92c420162cdabed81dc0e (diff)
downloadluajit2-e94150877da95140db47a4e58e14cc9000be273c.tar.gz
Fix frame depth display for bytecode dump in -jdump.
-rw-r--r--src/jit/dump.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/jit/dump.lua b/src/jit/dump.lua
index fe57af8f..6a77f928 100644
--- a/src/jit/dump.lua
+++ b/src/jit/dump.lua
@@ -547,10 +547,8 @@ local function dump_trace(what, tr, func, pc, otr, oex)
out:write("---- TRACE ", tr, " ", what)
if otr then out:write(" ", otr, "/", oex) end
out:write(" ", fmtfunc(func, pc), "\n")
- recprefix = ""
elseif what == "stop" or what == "abort" then
out:write("---- TRACE ", tr, " ", what)
- recprefix = nil
if what == "abort" then
out:write(" ", fmtfunc(func, pc), " -- ", fmterr(otr, oex), "\n")
else