diff --git a/src/coreclr/src/vm/arm64/asmhelpers.S b/src/coreclr/src/vm/arm64/asmhelpers.S index 32eeb4edfa760..06330056cbe8c 100644 --- a/src/coreclr/src/vm/arm64/asmhelpers.S +++ b/src/coreclr/src/vm/arm64/asmhelpers.S @@ -286,7 +286,7 @@ WRITE_BARRIER_END JIT_CheckedWriteBarrier // WRITE_BARRIER_ENTRY JIT_WriteBarrier dmb ST - str x15, [x14], 8 + str x15, [x14] // Branch to Exit if the reference is not in the Gen0 heap // @@ -312,6 +312,7 @@ LOCAL_LABEL(UpdateCardTable): mov x12, 0xFF strb w12, [x15] LOCAL_LABEL(Exit): + add x14, x14, 8 ret lr WRITE_BARRIER_END JIT_WriteBarrier