mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix final snapshot for trace stitching.
This commit is contained in:
parent
c1328e9795
commit
dce3639c1d
@ -125,7 +125,8 @@ static void recff_stitch(jit_State *J)
|
|||||||
#endif
|
#endif
|
||||||
J->base[0] = trcont | TREF_CONT;
|
J->base[0] = trcont | TREF_CONT;
|
||||||
J->base[-1] = LJ_DUALNUM ? lj_ir_kint(J,traceno) : lj_ir_knum_u64(J,traceno);
|
J->base[-1] = LJ_DUALNUM ? lj_ir_kint(J,traceno) : lj_ir_knum_u64(J,traceno);
|
||||||
J->maxslot += 2;
|
J->base += 2;
|
||||||
|
J->baseslot += 2;
|
||||||
J->framedepth++;
|
J->framedepth++;
|
||||||
|
|
||||||
lj_record_stop(J, LJ_TRLINK_STITCH, 0);
|
lj_record_stop(J, LJ_TRLINK_STITCH, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user