Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 66ada7986ec6a794e1ebfa3cf2b80b7778bc70b7..9057fc4cd824690c755c96a7901bfc9f91693cd1 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -2909,8 +2909,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)); |