diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:11 +0800 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 14:02:13 +0000 |
commit | 50010072877bea6ce0dff95a4c155d95ef419c20 (patch) | |
tree | ce9bc4711c95e2d53a48123ad57d5158303210aa /js/src/jit | |
parent | f83a88907a2014c6b1a157882b419debb054eb77 (diff) | |
download | UXP-50010072877bea6ce0dff95a4c155d95ef419c20.tar UXP-50010072877bea6ce0dff95a4c155d95ef419c20.tar.gz UXP-50010072877bea6ce0dff95a4c155d95ef419c20.tar.lz UXP-50010072877bea6ce0dff95a4c155d95ef419c20.tar.xz UXP-50010072877bea6ce0dff95a4c155d95ef419c20.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.cpp | 2 |
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; |