mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Show trailing NYI item for stitched trace with -jv.
This commit is contained in:
parent
b5d741fa7e
commit
c41e65499c
@ -116,6 +116,9 @@ local function dump_trace(what, tr, func, pc, otr, oex)
|
||||
if ltype == "interpreter" then
|
||||
out:write(format("[TRACE %3s %s%s -- fallback to interpreter]\n",
|
||||
tr, startex, startloc))
|
||||
elseif ltype == "stitch" then
|
||||
out:write(format("[TRACE %3s %s%s %s %s]\n",
|
||||
tr, startex, startloc, ltype, fmtfunc(func, pc)))
|
||||
elseif link == tr or link == 0 then
|
||||
out:write(format("[TRACE %3s %s%s %s]\n",
|
||||
tr, startex, startloc, ltype))
|
||||
|
@ -473,6 +473,7 @@ static void trace_stop(jit_State *J)
|
||||
lj_vmevent_send(L, TRACE,
|
||||
setstrV(L, L->top++, lj_str_newlit(L, "stop"));
|
||||
setintV(L->top++, traceno);
|
||||
setfuncV(L, L->top++, J->fn);
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user