Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 42561d39383cb32320f547a4680795adf36c752e..c68fa9ce36e9fbc973482f550c04ff624755e4d8 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -995,7 +995,7 @@ void FullCodeGenerator::VisitSwitchStatement(SwitchStatement* stmt) { |
// Record position before stub call for type feedback. |
SetSourcePosition(clause->position()); |
- Handle<Code> ic = CompareIC::GetUninitialized(Token::EQ_STRICT); |
+ Handle<Code> ic = CompareIC::GetUninitialized(isolate(), Token::EQ_STRICT); |
CallIC(ic, RelocInfo::CODE_TARGET, clause->CompareId()); |
patch_site.EmitPatchInfo(); |
__ test(eax, eax); |
@@ -1902,7 +1902,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
__ bind(&stub_call); |
__ mov(eax, ecx); |
BinaryOpStub stub(op, mode); |
- CallIC(stub.GetCode(), RelocInfo::CODE_TARGET, |
+ CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
expr->BinaryOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |
__ jmp(&done, Label::kNear); |
@@ -1988,7 +1988,7 @@ void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, |
__ pop(edx); |
BinaryOpStub stub(op, mode); |
JumpPatchSite patch_site(masm_); // unbound, signals no inlined smi code. |
- CallIC(stub.GetCode(), RelocInfo::CODE_TARGET, |
+ CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
expr->BinaryOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |
context()->Plug(eax); |
@@ -2479,7 +2479,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ mov(ebx, cell); |
CallConstructStub stub(RECORD_CALL_TARGET); |
- __ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); |
+ __ call(stub.GetCode(isolate()), RelocInfo::CONSTRUCT_CALL); |
PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
context()->Plug(eax); |
} |
@@ -3989,7 +3989,7 @@ void FullCodeGenerator::EmitUnaryOperation(UnaryOperation* expr, |
// accumulator register eax. |
VisitForAccumulatorValue(expr->expression()); |
SetSourcePosition(expr->position()); |
- CallIC(stub.GetCode(), RelocInfo::CODE_TARGET, |
+ CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
expr->UnaryOperationFeedbackId()); |
context()->Plug(eax); |
} |
@@ -4111,7 +4111,9 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
__ mov(edx, eax); |
__ mov(eax, Immediate(Smi::FromInt(1))); |
BinaryOpStub stub(expr->binary_op(), NO_OVERWRITE); |
- CallIC(stub.GetCode(), RelocInfo::CODE_TARGET, expr->CountBinOpFeedbackId()); |
+ CallIC(stub.GetCode(isolate()), |
+ RelocInfo::CODE_TARGET, |
+ expr->CountBinOpFeedbackId()); |
patch_site.EmitPatchInfo(); |
__ bind(&done); |
@@ -4347,7 +4349,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
// Record position and call the compare IC. |
SetSourcePosition(expr->position()); |
- Handle<Code> ic = CompareIC::GetUninitialized(op); |
+ Handle<Code> ic = CompareIC::GetUninitialized(isolate(), op); |
CallIC(ic, RelocInfo::CODE_TARGET, expr->CompareOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |