| 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 90717c1276132fb0c00e48255b9e886e3a354b9a..b97d56aa69b43cc691c794cd8fb99bf07dba9c18 100644
|
| --- a/src/full-codegen/x87/full-codegen-x87.cc
|
| +++ b/src/full-codegen/x87/full-codegen-x87.cc
|
| @@ -2901,8 +2901,8 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) {
|
| __ EmitLoadTypeFeedbackVector(ebx);
|
| __ mov(edx, Immediate(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.
|
| __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset));
|
|
|