diff options
Diffstat (limited to '')
-rw-r--r-- | src/jit/p.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/p.lua b/src/jit/p.lua index 09b3b9fe..c9b6f307 100644 --- a/src/jit/p.lua +++ b/src/jit/p.lua | |||
@@ -156,6 +156,7 @@ local function prof_annotate(count1, samples) | |||
156 | ms = math.max(ms, v) | 156 | ms = math.max(ms, v) |
157 | if pct >= prof_min then | 157 | if pct >= prof_min then |
158 | local file, line = k:match("^(.*):(%d+)$") | 158 | local file, line = k:match("^(.*):(%d+)$") |
159 | if not file then file = k; line = 0 end | ||
159 | local fl = files[file] | 160 | local fl = files[file] |
160 | if not fl then fl = {}; files[file] = fl; files[#files+1] = file end | 161 | if not fl then fl = {}; files[file] = fl; files[#files+1] = file end |
161 | line = tonumber(line) | 162 | line = tonumber(line) |