Browse Source

Fix frame depth display for bytecode dump in -jdump.

Mike Pall 11 years ago
parent
commit
e94150877d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/jit/dump.lua

+ 0 - 2
src/jit/dump.lua

@@ -547,10 +547,8 @@ local function dump_trace(what, tr, func, pc, otr, oex)
     out:write("---- TRACE ", tr, " ", what)
     out:write("---- TRACE ", tr, " ", what)
     if otr then out:write(" ", otr, "/", oex) end
     if otr then out:write(" ", otr, "/", oex) end
     out:write(" ", fmtfunc(func, pc), "\n")
     out:write(" ", fmtfunc(func, pc), "\n")
-    recprefix = ""
   elseif what == "stop" or what == "abort" then
   elseif what == "stop" or what == "abort" then
     out:write("---- TRACE ", tr, " ", what)
     out:write("---- TRACE ", tr, " ", what)
-    recprefix = nil
     if what == "abort" then
     if what == "abort" then
       out:write(" ", fmtfunc(func, pc), " -- ", fmterr(otr, oex), "\n")
       out:write(" ", fmtfunc(func, pc), " -- ", fmterr(otr, oex), "\n")
     else
     else