diff --git a/src/runtime/arm64-assem.S b/src/runtime/arm64-assem.S index 9a62b02561..d93eb16b21 100644 --- a/src/runtime/arm64-assem.S +++ b/src/runtime/arm64-assem.S @@ -333,7 +333,7 @@ GNAME(call_into_c): stp x12,x13, [sp,#96] stp x14,x15, [sp,#112] stp x16,x17, [sp,#128] - stp x18,lr, [sp,#144] + stp x18,x30, [sp,#144] stp d0,d1, [sp,#160] stp d2,d3, [sp,#176] @@ -367,7 +367,7 @@ GNAME(call_into_c): ldp d2,d3, [sp,#176] ldp d0,d1, [sp,#160] - ldp x18,lr, [sp,#144] + ldp x18,x30, [sp,#144] ldp x16,x17, [sp,#128] ldp x14,x15, [sp,#112] ldp x12,x13, [sp,#96] @@ -425,7 +425,7 @@ GNAME(call_into_c): stp x12,x13, [sp,#96] stp x14,x15, [sp,#112] stp x16,x17, [sp,#128] - stp x18,lr, [sp,#144] + stp x18,x30, [sp,#144] stp d0,d1, [sp,#160] stp d2,d3, [sp,#176] @@ -459,7 +459,7 @@ GNAME(call_into_c): ldp d2,d3, [sp,#176] ldp d0,d1, [sp,#160] - ldp x18,lr, [sp,#144] + ldp x18,x30, [sp,#144] ldp x16,x17, [sp,#128] ldp x14,x15, [sp,#112] ldp x12,x13, [sp,#96]