Skip to content

Commit e67e204

Browse files
author
Mike Pall
committed
ARM64: Followup fix for exit branch patching.
1 parent 2e55a42 commit e67e204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lj_asm_arm64.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2021,7 +2021,7 @@ void lj_asm_patchexit(jit_State *J, GCtrace *T, ExitNo exitno, MCode *target)
20212021
*px = A64I_B | A64F_S26(delta);
20222022
if (!cstart) cstart = px;
20232023
}
2024-
lj_mcode_sync(cstart, px+1);
2024+
if (cstart) lj_mcode_sync(cstart, px+1);
20252025
lj_mcode_patch(J, mcarea, 1);
20262026
}
20272027

0 commit comments

Comments
 (0)