Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index b8d1d3cb3162e5ad363d6902146c3ec4ff94b07e..bb9134a3006e6e557b415e27f56fd6c81a6ddda8 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -1047,17 +1047,17 @@ void LCodeGen::DoCallStub(LCallStub* instr) { |
switch (instr->hydrogen()->major_key()) { |
case CodeStub::RegExpExec: { |
RegExpExecStub stub(isolate()); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
break; |
} |
case CodeStub::SubString: { |
SubStringStub stub(isolate()); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
break; |
} |
case CodeStub::StringCompare: { |
StringCompareStub stub(isolate()); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
break; |
} |
default: |
@@ -2012,7 +2012,7 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
ASSERT(ToRegister(instr->result()).is(v0)); |
BinaryOpICStub stub(isolate(), instr->op(), NO_OVERWRITE); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
// Other arch use a nop here, to signal that there is no inlined |
// patchable code. Mips does not need the nop, since our marker |
// instruction (andi zero_reg) will never be used in normal code. |
@@ -2654,7 +2654,7 @@ void LCodeGen::DoInstanceOf(LInstanceOf* instr) { |
ASSERT(result.is(v0)); |
InstanceofStub stub(isolate(), InstanceofStub::kArgsInRegisters); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
__ Branch(&true_label, eq, result, Operand(zero_reg)); |
__ li(result, Operand(factory()->false_value())); |
@@ -2774,7 +2774,7 @@ void LCodeGen::DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
__ li(temp, Operand(delta * kPointerSize), CONSTANT_SIZE); |
__ StoreToSafepointRegisterSlot(temp, temp); |
} |
- CallCodeGeneric(stub.GetCode(isolate()), |
+ CallCodeGeneric(stub.GetCode(), |
RelocInfo::CODE_TARGET, |
instr, |
RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS); |
@@ -3969,7 +3969,7 @@ void LCodeGen::DoCallFunction(LCallFunction* instr) { |
int arity = instr->arity(); |
CallFunctionStub stub(isolate(), arity, instr->hydrogen()->function_flags()); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} |
@@ -3982,7 +3982,7 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
// No cell in a2 for construct type feedback in optimized code |
__ LoadRoot(a2, Heap::kUndefinedValueRootIndex); |
CallConstructStub stub(isolate(), NO_CALL_FUNCTION_FLAGS); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} |
@@ -4001,7 +4001,7 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
if (instr->arity() == 0) { |
ArrayNoArgumentConstructorStub stub(isolate(), kind, override_mode); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} else if (instr->arity() == 1) { |
Label done; |
if (IsFastPackedElementsKind(kind)) { |
@@ -4015,17 +4015,17 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
ArraySingleArgumentConstructorStub stub(isolate(), |
holey_kind, |
override_mode); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
__ jmp(&done); |
__ bind(&packed_case); |
} |
ArraySingleArgumentConstructorStub stub(isolate(), kind, override_mode); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
__ bind(&done); |
} else { |
ArrayNArgumentsConstructorStub stub(isolate(), kind, override_mode); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} |
} |
@@ -4459,7 +4459,7 @@ void LCodeGen::DoStringAdd(LStringAdd* instr) { |
StringAddStub stub(isolate(), |
instr->hydrogen()->flags(), |
instr->hydrogen()->pretenure_flag()); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} |
@@ -5459,7 +5459,7 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) { |
instr->hydrogen()->strict_mode(), |
instr->hydrogen()->is_generator()); |
__ li(a2, Operand(instr->hydrogen()->shared_info())); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else { |
__ li(a2, Operand(instr->hydrogen()->shared_info())); |
__ li(a1, Operand(pretenure ? factory()->true_value() |