summaryrefslogtreecommitdiffstats
path: root/js/src/jit
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:11 +0800
committerJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-14 16:31:58 +0800
commitef3af7ce70a53417309133b6989c5e9423412956 (patch)
tree39076051eb4564499184653f3581719e0c924add /js/src/jit
parent24d8c2502685dc433da896b1882d4a65c902cc03 (diff)
downloadUXP-ef3af7ce70a53417309133b6989c5e9423412956.tar
UXP-ef3af7ce70a53417309133b6989c5e9423412956.tar.gz
UXP-ef3af7ce70a53417309133b6989c5e9423412956.tar.lz
UXP-ef3af7ce70a53417309133b6989c5e9423412956.tar.xz
UXP-ef3af7ce70a53417309133b6989c5e9423412956.zip
Bug 1424978 - IonMonkey: MIPS: Fix ma_store_unaligned
Tag: #1542
Diffstat (limited to 'js/src/jit')
-rw-r--r--js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp2
1 files changed, 1 insertions, 1 deletions
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;