Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index fad712580b8b8e263f20fb214759b5be907579da..2ac7a43cd9f1396a351ad96adba62b91c0e561dd 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -2888,8 +2888,8 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ EmitLoadTypeFeedbackVector(ebx); |
__ mov(edx, Immediate(SmiFromSlot(expr->CallNewFeedbackSlot()))); |
- Handle<Code> code = CodeFactory::ConstructIC(isolate()).code(); |
- __ call(code, RelocInfo::CODE_TARGET); |
+ CallConstructStub stub(isolate()); |
+ __ call(stub.GetCode(), RelocInfo::CODE_TARGET); |
PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
// Restore context register. |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |