]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix frame depth display for bytecode dump in -jdump.
authorMike Pall <mike>
Fri, 28 Feb 2014 13:09:34 +0000 (14:09 +0100)
committerMike Pall <mike>
Fri, 28 Feb 2014 13:09:34 +0000 (14:09 +0100)
src/jit/dump.lua

index fe57af8f171e3c63f26885897c732f95b0a101a5..6a77f9280ba36be5f530b600c093297556c6b1bb 100644 (file)
@@ -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