From d991faa669571a062b53ce62903fa65f0f558800 Mon Sep 17 00:00:00 2001 From: Basilisk-Dev Date: Thu, 23 Apr 2026 21:06:53 -0400 Subject: [PATCH] Issue #3049 - Use s5 for loongarch64 baseline frames --- js/src/jit/loongarch64/SharedICRegisters-loongarch64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.