aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/jit/p.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jit/p.lua b/src/jit/p.lua
index 1fbf389a..cd6a0616 100644
--- a/src/jit/p.lua
+++ b/src/jit/p.lua
@@ -196,9 +196,11 @@ local function prof_annotate(count1, samples)
196 end 196 end
197 local v = fl[n] 197 local v = fl[n]
198 if ann ~= 0 then 198 if ann ~= 0 then
199 local v2 = fl[n+ann]
199 if show then 200 if show then
200 if v then show = n elseif show+ann < n then show = false end 201 if v2 then show = n+ann elseif v then show = n
201 elseif fl[n+ann] then 202 elseif show+ann < n then show = false end
203 elseif v2 then
202 show = n+ann 204 show = n+ann
203 out:write(format("@@ %d @@\n", n)) 205 out:write(format("@@ %d @@\n", n))
204 end 206 end