Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 966214be8cadc73e2309d7775a40e4d94bf9d9e3..b53314e409fa5706cf6dd2db0b23bca2cc410c5d 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -1115,9 +1115,8 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
__ lw(a1, MemOperand(a1)); |
__ li(a2, Operand(pending_handler_offset_address)); |
__ lw(a2, MemOperand(a2)); |
- __ Addu(a1, a1, Operand(Code::kHeaderSize - kHeapObjectTag)); |
__ Addu(t9, a1, a2); |
- __ Jump(t9); |
+ __ Jump(t9, Code::kHeaderSize - kHeapObjectTag); |
} |
@@ -1250,8 +1249,7 @@ void JSEntryStub::Generate(MacroAssembler* masm) { |
__ lw(t9, MemOperand(t0)); // Deref address. |
// Call JSEntryTrampoline. |
- __ addiu(t9, t9, Code::kHeaderSize - kHeapObjectTag); |
- __ Call(t9); |
+ __ Call(t9, Code::kHeaderSize - kHeapObjectTag); |
// Unlink this frame from the handler chain. |
__ PopStackHandler(); |
@@ -1887,8 +1885,7 @@ void CallConstructStub::Generate(MacroAssembler* masm) { |
// context at this point). |
__ lw(t0, FieldMemOperand(a1, JSFunction::kSharedFunctionInfoOffset)); |
__ lw(t0, FieldMemOperand(t0, SharedFunctionInfo::kConstructStubOffset)); |
- __ Addu(at, t0, Operand(Code::kHeaderSize - kHeapObjectTag)); |
- __ Jump(at); |
+ __ Jump(at, t0, Code::kHeaderSize - kHeapObjectTag); |
__ bind(&non_function); |
__ mov(a3, a1); |
@@ -2770,12 +2767,10 @@ void CompareICStub::GenerateMiss(MacroAssembler* masm) { |
__ CallRuntime(Runtime::kCompareIC_Miss, 3, kDontSaveFPRegs, |
USE_DELAY_SLOT); |
__ sw(t0, MemOperand(sp)); // In the delay slot. |
- // Compute the entry point of the rewritten stub. |
- __ Addu(a2, v0, Operand(Code::kHeaderSize - kHeapObjectTag)); |
// Restore registers. |
__ Pop(a1, a0, ra); |
} |
- __ Jump(a2); |
+ __ Jump(a2, v0, Code::kHeaderSize - kHeapObjectTag); |
} |