Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 4db8e46537618361089fc28877d80a5868cfd965..f5f26e7bade6eeb5d4471ad5e4c2365b7ae8915a 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1035,7 +1035,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(); |
@@ -1950,7 +1950,7 @@ void FullCodeGenerator::EmitInlineSmiBinaryOp(BinaryOperation* expr, |
__ bind(&stub_call); |
BinaryOpStub stub(op, mode); |
- CallIC(stub.GetCode(), RelocInfo::CODE_TARGET, |
+ CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
expr->BinaryOperationFeedbackId()); |
patch_site.EmitPatchInfo(); |
__ jmp(&done); |
@@ -2034,7 +2034,7 @@ void FullCodeGenerator::EmitBinaryOp(BinaryOperation* expr, |
__ pop(r1); |
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(r0); |
@@ -2536,7 +2536,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ mov(r2, Operand(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(r0); |
} |
@@ -4016,7 +4016,7 @@ void FullCodeGenerator::EmitUnaryOperation(UnaryOperation* expr, |
// accumulator register r0. |
VisitForAccumulatorValue(expr->expression()); |
SetSourcePosition(expr->position()); |
- CallIC(stub.GetCode(), RelocInfo::CODE_TARGET, |
+ CallIC(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, |
expr->UnaryOperationFeedbackId()); |
context()->Plug(r0); |
} |
@@ -4129,7 +4129,9 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
SetSourcePosition(expr->position()); |
BinaryOpStub stub(Token::ADD, NO_OVERWRITE); |
- CallIC(stub.GetCode(), RelocInfo::CODE_TARGET, expr->CountBinOpFeedbackId()); |
+ CallIC(stub.GetCode(isolate()), |
+ RelocInfo::CODE_TARGET, |
+ expr->CountBinOpFeedbackId()); |
patch_site.EmitPatchInfo(); |
__ bind(&done); |
@@ -4364,7 +4366,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(); |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |