Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 8225a8a46263fabbbcd457ba767005261245d8e6..5da01e689c9dab0298e9c1bf975d36d756bdaa18 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2892,8 +2892,8 @@ |
__ EmitLoadTypeFeedbackVector(rbx); |
__ Move(rdx, 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. |
__ movp(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |