diff options
-rw-r--r-- | src/lj_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_trace.c b/src/lj_trace.c index d83d36e6..bef4558b 100644 --- a/src/lj_trace.c +++ b/src/lj_trace.c | |||
@@ -503,7 +503,7 @@ static int trace_abort(jit_State *J) | |||
503 | } | 503 | } |
504 | /* Penalize or blacklist starting bytecode instruction. */ | 504 | /* Penalize or blacklist starting bytecode instruction. */ |
505 | if (J->parent == 0 && !bc_isret(bc_op(J->cur.startins))) | 505 | if (J->parent == 0 && !bc_isret(bc_op(J->cur.startins))) |
506 | penalty_pc(J, &gcref(J->cur.startpt)->pt, (BCIns *)J->startpc, e); | 506 | penalty_pc(J, &gcref(J->cur.startpt)->pt, mref(J->cur.startpc, BCIns), e); |
507 | 507 | ||
508 | /* Is there anything to abort? */ | 508 | /* Is there anything to abort? */ |
509 | traceno = J->cur.traceno; | 509 | traceno = J->cur.traceno; |