Bug 1230404 - IonMonkey: MIPS32: Fix load32(wasm::SymbolicAddress, Register). r=bbouvier
authorHeiher <r@hev.cc>
Fri, 04 Dec 2015 22:32:33 +0800
changeset 309864 6dac98638050582b9a9a8a1481ad5cb5403efdf2
parent 309863 1c5bb0d79271c25f1b8548966b100c56c1305c1a
child 309865 9e37bc637fb921e8b33e51654472b2332343e093
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbouvier
bugs1230404
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1230404 - IonMonkey: MIPS32: Fix load32(wasm::SymbolicAddress, Register). r=bbouvier --- js/src/jit/mips32/MacroAssembler-mips32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
js/src/jit/mips32/MacroAssembler-mips32.cpp
--- a/js/src/jit/mips32/MacroAssembler-mips32.cpp
+++ b/js/src/jit/mips32/MacroAssembler-mips32.cpp
@@ -959,17 +959,17 @@ MacroAssemblerMIPSCompat::load32(Absolut
     movePtr(ImmPtr(address.addr), ScratchRegister);
     load32(Address(ScratchRegister, 0), dest);
 }
 
 void
 MacroAssemblerMIPSCompat::load32(wasm::SymbolicAddress address, Register dest)
 {
     movePtr(address, ScratchRegister);
-    load32(Address(ScratchRegister, 0), address);
+    load32(Address(ScratchRegister, 0), dest);
 }
 
 void
 MacroAssemblerMIPSCompat::loadPtr(const Address& address, Register dest)
 {
     ma_load(dest, address, SizeWord);
 }