mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix warning.
This commit is contained in:
parent
050466552b
commit
7aa3e313a3
@ -571,7 +571,7 @@ local function dump_trace(what, tr, func, pc, otr, oex)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Dump recorded bytecode.
|
-- Dump recorded bytecode.
|
||||||
local function dump_record(tr, func, pc, depth, callee)
|
local function dump_record(tr, func, pc, depth)
|
||||||
if depth ~= recdepth then
|
if depth ~= recdepth then
|
||||||
recdepth = depth
|
recdepth = depth
|
||||||
recprefix = rep(" .", depth)
|
recprefix = rep(" .", depth)
|
||||||
@ -582,7 +582,6 @@ local function dump_record(tr, func, pc, depth, callee)
|
|||||||
if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end
|
if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end
|
||||||
else
|
else
|
||||||
line = "0000 "..recprefix.." FUNCC \n"
|
line = "0000 "..recprefix.." FUNCC \n"
|
||||||
callee = func
|
|
||||||
end
|
end
|
||||||
if pc <= 0 then
|
if pc <= 0 then
|
||||||
out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n")
|
out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user