aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parentef3cc47f9fb7df9ed2d92c420162cdabed81dc0e (diff)
downloadluajit-e94150877da95140db47a4e58e14cc9000be273c.tar.gz
luajit-e94150877da95140db47a4e58e14cc9000be273c.tar.bz2
luajit-e94150877da95140db47a4e58e14cc9000be273c.zip
Fix frame depth display for bytecode dump in -jdump.
Diffstat (limited to 'src')
-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)
547 out:write("---- TRACE ", tr, " ", what) 547 out:write("---- TRACE ", tr, " ", what)
548 if otr then out:write(" ", otr, "/", oex) end 548 if otr then out:write(" ", otr, "/", oex) end
549 out:write(" ", fmtfunc(func, pc), "\n") 549 out:write(" ", fmtfunc(func, pc), "\n")
550 recprefix = ""
551 elseif what == "stop" or what == "abort" then 550 elseif what == "stop" or what == "abort" then
552 out:write("---- TRACE ", tr, " ", what) 551 out:write("---- TRACE ", tr, " ", what)
553 recprefix = nil
554 if what == "abort" then 552 if what == "abort" then
555 out:write(" ", fmtfunc(func, pc), " -- ", fmterr(otr, oex), "\n") 553 out:write(" ", fmtfunc(func, pc), " -- ", fmterr(otr, oex), "\n")
556 else 554 else