Bug 1289263 - Baldr: MIPS64: Fix compile errors in loadAsmJSHeapRegisterFromGlobalData. r=luke
authorHeiher <r@hev.cc>
Wed, 27 Jul 2016 13:23:15 +0800
changeset 346853 dcd1d96a84182a2e8555f215075a031fce427ac3
parent 346852 f0a977d25ead92214b82b776b3ded3f40a9e7c40
child 346854 289855f3cc47637f29562e0a04b6e07319fc930a
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1289263
milestone50.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 1289263 - Baldr: MIPS64: Fix compile errors in loadAsmJSHeapRegisterFromGlobalData. r=luke --- js/src/jit/mips64/MacroAssembler-mips64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
js/src/jit/mips64/MacroAssembler-mips64.h
--- a/js/src/jit/mips64/MacroAssembler-mips64.h
+++ b/js/src/jit/mips64/MacroAssembler-mips64.h
@@ -1000,17 +1000,17 @@ class MacroAssemblerMIPS64Compat : publi
         as_movs(dest, src);
     }
 
     void loadWasmGlobalPtr(uint32_t globalDataOffset, Register dest) {
         loadPtr(Address(GlobalReg, globalDataOffset - AsmJSGlobalRegBias), dest);
     }
     void loadAsmJSHeapRegisterFromGlobalData() {
         MOZ_ASSERT(Imm16::IsInSignedRange(wasm::HeapGlobalDataOffset - AsmJSGlobalRegBias));
-        loadWasmGlobalPtr(wasm::HeapGlobalDataOffset, dest);
+        loadWasmGlobalPtr(wasm::HeapGlobalDataOffset, HeapReg);
     }
 
     // Instrumentation for entering and leaving the profiler.
     void profilerEnterFrame(Register framePtr, Register scratch);
     void profilerExitFrame();
 };
 
 typedef MacroAssemblerMIPS64Compat MacroAssemblerSpecific;