diff options
author | Mike Pall <mike> | 2016-11-13 20:03:01 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2016-11-13 20:03:01 +0100 |
commit | 7a58a8fb3d3d5808c54d096ab772113bf9024ae8 (patch) | |
tree | 32cfdefc8c9bb682078fa76acdcb1751a5e9dec9 /src/jit/v.lua | |
parent | 716f2daef8019ce53d75d2c376c74b8f478fd5c5 (diff) | |
download | luajit-7a58a8fb3d3d5808c54d096ab772113bf9024ae8.tar.gz luajit-7a58a8fb3d3d5808c54d096ab772113bf9024ae8.tar.bz2 luajit-7a58a8fb3d3d5808c54d096ab772113bf9024ae8.zip |
Report parent of stitched trace.
Thanks to Nick Zavaritsky.
Diffstat (limited to '')
-rw-r--r-- | src/jit/v.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/v.lua b/src/jit/v.lua index 60c8b05a..b07ec7c0 100644 --- a/src/jit/v.lua +++ b/src/jit/v.lua | |||
@@ -99,7 +99,7 @@ end | |||
99 | local function dump_trace(what, tr, func, pc, otr, oex) | 99 | local function dump_trace(what, tr, func, pc, otr, oex) |
100 | if what == "start" then | 100 | if what == "start" then |
101 | startloc = fmtfunc(func, pc) | 101 | startloc = fmtfunc(func, pc) |
102 | startex = otr and "("..otr.."/"..oex..") " or "" | 102 | startex = otr and "("..otr.."/"..(oex == -1 and "stitch" or oex)..") " or "" |
103 | else | 103 | else |
104 | if what == "abort" then | 104 | if what == "abort" then |
105 | local loc = fmtfunc(func, pc) | 105 | local loc = fmtfunc(func, pc) |