mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Fix -jp=a mode.
This commit is contained in:
parent
483f823ea4
commit
1f2eff728b
@ -196,9 +196,11 @@ local function prof_annotate(count1, samples)
|
|||||||
end
|
end
|
||||||
local v = fl[n]
|
local v = fl[n]
|
||||||
if ann ~= 0 then
|
if ann ~= 0 then
|
||||||
|
local v2 = fl[n+ann]
|
||||||
if show then
|
if show then
|
||||||
if v then show = n elseif show+ann < n then show = false end
|
if v2 then show = n+ann elseif v then show = n
|
||||||
elseif fl[n+ann] then
|
elseif show+ann < n then show = false end
|
||||||
|
elseif v2 then
|
||||||
show = n+ann
|
show = n+ann
|
||||||
out:write(format("@@ %d @@\n", n))
|
out:write(format("@@ %d @@\n", n))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user