diff options
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r-- | src/lj_asm_x86.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 141957c7..0803ecef 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -2418,8 +2418,7 @@ static void asm_tail_fixup(ASMState *as, TraceNo lnk) | |||
2418 | } | 2418 | } |
2419 | } | 2419 | } |
2420 | /* Patch exit branch. */ | 2420 | /* Patch exit branch. */ |
2421 | target = lnk == TRACE_INTERP ? (MCode *)lj_vm_exit_interp : | 2421 | target = lnk ? traceref(as->J, lnk)->mcode : (MCode *)lj_vm_exit_interp; |
2422 | traceref(as->J, lnk)->mcode; | ||
2423 | *(int32_t *)(p-4) = jmprel(p, target); | 2422 | *(int32_t *)(p-4) = jmprel(p, target); |
2424 | p[-5] = XI_JMP; | 2423 | p[-5] = XI_JMP; |
2425 | /* Drop unused mcode tail. Fill with NOPs to make the prefetcher happy. */ | 2424 | /* Drop unused mcode tail. Fill with NOPs to make the prefetcher happy. */ |