mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Minor change to bytecode penalty code for consistency.
This commit is contained in:
parent
f50d8986d8
commit
51ee3d951e
@ -503,7 +503,7 @@ static int trace_abort(jit_State *J)
|
|||||||
}
|
}
|
||||||
/* Penalize or blacklist starting bytecode instruction. */
|
/* Penalize or blacklist starting bytecode instruction. */
|
||||||
if (J->parent == 0 && !bc_isret(bc_op(J->cur.startins)))
|
if (J->parent == 0 && !bc_isret(bc_op(J->cur.startins)))
|
||||||
penalty_pc(J, &gcref(J->cur.startpt)->pt, (BCIns *)J->startpc, e);
|
penalty_pc(J, &gcref(J->cur.startpt)->pt, mref(J->cur.startpc, BCIns), e);
|
||||||
|
|
||||||
/* Is there anything to abort? */
|
/* Is there anything to abort? */
|
||||||
traceno = J->cur.traceno;
|
traceno = J->cur.traceno;
|
||||||
|
Loading…
Reference in New Issue
Block a user