aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jit/dump.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/dump.lua b/src/jit/dump.lua
index d3425bda..f97aa6ed 100644
--- a/src/jit/dump.lua
+++ b/src/jit/dump.lua
@@ -584,7 +584,7 @@ local function dump_trace(what, tr, func, pc, otr, oex)
584end 584end
585 585
586-- Dump recorded bytecode. 586-- Dump recorded bytecode.
587local function dump_record(tr, func, pc, depth, callee) 587local function dump_record(tr, func, pc, depth)
588 if depth ~= recdepth then 588 if depth ~= recdepth then
589 recdepth = depth 589 recdepth = depth
590 recprefix = rep(" .", depth) 590 recprefix = rep(" .", depth)
@@ -595,7 +595,6 @@ local function dump_record(tr, func, pc, depth, callee)
595 if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end 595 if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end
596 else 596 else
597 line = "0000 "..recprefix.." FUNCC \n" 597 line = "0000 "..recprefix.." FUNCC \n"
598 callee = func
599 end 598 end
600 if pc <= 0 then 599 if pc <= 0 then
601 out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n") 600 out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n")