Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 7fda2242bc30b05240920701645993257fd93d31..4686bcb20c808a4ac6b72042140b162f0847c53b 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3023,8 +3023,8 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ EmitLoadTypeFeedbackVector(r2); |
__ mov(r3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot()))); |
- CallConstructStub stub(isolate()); |
- __ Call(stub.GetCode(), RelocInfo::CODE_TARGET); |
+ Handle<Code> code = CodeFactory::ConstructIC(isolate()).code(); |
+ __ Call(code, RelocInfo::CODE_TARGET); |
PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
// Restore context register. |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |