diff options
Diffstat (limited to 'src/jit')
| -rw-r--r-- | src/jit/dump.lua | 2 | ||||
| -rw-r--r-- | src/jit/v.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/dump.lua b/src/jit/dump.lua index a8bc2af2..1adf7095 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua | |||
| @@ -556,7 +556,7 @@ local function dump_trace(what, tr, func, pc, otr, oex) | |||
| 556 | if what == "start" then | 556 | if what == "start" then |
| 557 | if dumpmode.H then out:write('<pre class="ljdump">\n') end | 557 | if dumpmode.H then out:write('<pre class="ljdump">\n') end |
| 558 | out:write("---- TRACE ", tr, " ", what) | 558 | out:write("---- TRACE ", tr, " ", what) |
| 559 | if otr then out:write(" ", otr, "/", oex) end | 559 | if otr then out:write(" ", otr, "/", oex == -1 and "stitch" or oex) end |
| 560 | out:write(" ", fmtfunc(func, pc), "\n") | 560 | out:write(" ", fmtfunc(func, pc), "\n") |
| 561 | elseif what == "stop" or what == "abort" then | 561 | elseif what == "stop" or what == "abort" then |
| 562 | out:write("---- TRACE ", tr, " ", what) | 562 | out:write("---- TRACE ", tr, " ", what) |
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) |
