aboutsummaryrefslogtreecommitdiff
path: root/src/jit
diff options
context:
space:
mode:
authorMike Pall <mike>2020-11-30 15:46:07 +0100
committerMike Pall <mike>2020-11-30 15:46:07 +0100
commit7aa3e313a363049bef4a75ad9c75b1dd2adfc3de (patch)
tree1bb1553274891c08815bfaf29bd28e00ffa56144 /src/jit
parent050466552bf7eb8b7944aa52c93b45326ae14d7a (diff)
downloadluajit-7aa3e313a363049bef4a75ad9c75b1dd2adfc3de.tar.gz
luajit-7aa3e313a363049bef4a75ad9c75b1dd2adfc3de.tar.bz2
luajit-7aa3e313a363049bef4a75ad9c75b1dd2adfc3de.zip
Fix warning.
Diffstat (limited to 'src/jit')
-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 6a2632c3..cbf0bdd9 100644
--- a/src/jit/dump.lua
+++ b/src/jit/dump.lua
@@ -571,7 +571,7 @@ local function dump_trace(what, tr, func, pc, otr, oex)
571end 571end
572 572
573-- Dump recorded bytecode. 573-- Dump recorded bytecode.
574local function dump_record(tr, func, pc, depth, callee) 574local function dump_record(tr, func, pc, depth)
575 if depth ~= recdepth then 575 if depth ~= recdepth then
576 recdepth = depth 576 recdepth = depth
577 recprefix = rep(" .", depth) 577 recprefix = rep(" .", depth)
@@ -582,7 +582,6 @@ local function dump_record(tr, func, pc, depth, callee)
582 if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end 582 if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end
583 else 583 else
584 line = "0000 "..recprefix.." FUNCC \n" 584 line = "0000 "..recprefix.." FUNCC \n"
585 callee = func
586 end 585 end
587 if pc <= 0 then 586 if pc <= 0 then
588 out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n") 587 out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n")