From ef3af7ce70a53417309133b6989c5e9423412956 Mon Sep 17 00:00:00 2001 From: Jiaxun Yang Date: Tue, 12 May 2020 12:40:11 +0800 Subject: Bug 1424978 - IonMonkey: MIPS: Fix ma_store_unaligned Tag: #1542 --- js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp b/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp index 839664b8c..811fb01f1 100644 --- a/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp +++ b/js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp @@ -616,7 +616,7 @@ MacroAssemblerMIPSShared::ma_store_unaligned(Register data, const BaseIndex& des int16_t lowOffset, hiOffset; Register base; - asMasm().computeEffectiveAddress(dest, SecondScratchReg); + asMasm().computeScaledAddress(dest, SecondScratchReg); if (Imm16::IsInSignedRange(dest.offset) && Imm16::IsInSignedRange(dest.offset + size / 8 - 1)) { base = SecondScratchReg; -- cgit v1.2.3