Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 5683b0dd472cdeaec715ead09cdb48e9ee650a49..9b60bc555813e0e1d160e3668e312861f56c3969 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -1351,17 +1351,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: |
@@ -2358,7 +2358,7 @@ void LCodeGen::DoArithmeticT(LArithmeticT* instr) { |
ASSERT(ToRegister(instr->result()).is(eax)); |
BinaryOpICStub stub(isolate(), instr->op(), NO_OVERWRITE); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} |
@@ -2976,7 +2976,7 @@ void LCodeGen::DoInstanceOf(LInstanceOf* instr) { |
// Object and function are in fixed registers defined by the stub. |
ASSERT(ToRegister(instr->context()).is(esi)); |
InstanceofStub stub(isolate(), InstanceofStub::kArgsInRegisters); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
Label true_value, done; |
__ test(eax, Operand(eax)); |
@@ -3077,7 +3077,7 @@ void LCodeGen::DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
int delta = masm_->SizeOfCodeGeneratedSince(map_check) + kAdditionalDelta; |
__ mov(temp, Immediate(delta)); |
__ StoreToSafepointRegisterSlot(temp, temp); |
- CallCodeGeneric(stub.GetCode(isolate()), |
+ CallCodeGeneric(stub.GetCode(), |
RelocInfo::CODE_TARGET, |
instr, |
RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS); |
@@ -4276,7 +4276,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); |
} |
@@ -4289,7 +4289,7 @@ void LCodeGen::DoCallNew(LCallNew* instr) { |
__ mov(ebx, isolate()->factory()->undefined_value()); |
CallConstructStub stub(isolate(), NO_CALL_FUNCTION_FLAGS); |
__ Move(eax, Immediate(instr->arity())); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); |
} |
@@ -4308,7 +4308,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)) { |
@@ -4323,17 +4323,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, Label::kNear); |
__ 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); |
} |
} |
@@ -4912,7 +4912,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); |
} |
@@ -6050,7 +6050,7 @@ void LCodeGen::DoFunctionLiteral(LFunctionLiteral* instr) { |
instr->hydrogen()->strict_mode(), |
instr->hydrogen()->is_generator()); |
__ mov(ebx, Immediate(instr->hydrogen()->shared_info())); |
- CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
+ CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
} else { |
__ push(esi); |
__ push(Immediate(instr->hydrogen()->shared_info())); |