diff --git a/js/src/jit/loongarch64/SharedICRegisters-loongarch64.h b/js/src/jit/loongarch64/SharedICRegisters-loongarch64.h index 1de49dc39a..f3062ec43a 100644 --- a/js/src/jit/loongarch64/SharedICRegisters-loongarch64.h +++ b/js/src/jit/loongarch64/SharedICRegisters-loongarch64.h @@ -15,7 +15,7 @@ namespace js { namespace jit { // Must be a callee-saved register for preservation around generateEnterJIT(). -static constexpr Register BaselineFrameReg = s0; +static constexpr Register BaselineFrameReg = s5; static constexpr Register BaselineStackReg = sp; // ValueOperands R0, R1, and R2.