[INFER] Fix x64 build break.
authorBrian Hackett <bhackett1024@gmail.com>
Mon, 28 Mar 2011 19:16:36 -0700
changeset 74858 9980055fd19ca13749807ad087a47ceb4e834446
parent 74857 a3632d306b1396e160098e5cf835f09b9c6bdfd2
child 74859 3b5b4dfda144c0fbe7108174a882e311512ce3e6
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
milestone2.0b13pre
[INFER] Fix x64 build break.
js/src/methodjit/Compiler.cpp
--- a/js/src/methodjit/Compiler.cpp
+++ b/js/src/methodjit/Compiler.cpp
@@ -2983,17 +2983,18 @@ mjit::Compiler::recompileCheckHelper()
     masm.add32(Imm32(1), AbsoluteAddress(addr));
 #if defined(JS_CPU_X86) || defined(JS_CPU_ARM)
     Jump jump = masm.branch32(Assembler::GreaterThanOrEqual, AbsoluteAddress(addr),
                               Imm32(CALLS_BACKEDGES_BEFORE_INLINING));
 #else
     /* Handle processors that can't load from absolute addresses. */
     RegisterID reg = frame.allocReg();
     masm.move(ImmPtr(addr), reg);
-    Jump jump = masm.branch32(Assembler::GreaterThanOrEqual, Address(reg, 0));
+    Jump jump = masm.branch32(Assembler::GreaterThanOrEqual, Address(reg, 0),
+                              Imm32(CALLS_BACKEDGES_BEFORE_INLINING));
     frame.freeReg(reg);
 #endif
     stubcc.linkExit(jump, Uses(0));
     stubcc.leave();
 
     OOL_STUBCALL(stubs::RecompileForInline);
     stubcc.rejoin(Changes(0));
 }