Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 92236cbd877eb1285fada18f0622e24a6e361a38..78bddbd4d5ccf1f3abc25e1a270726bafa670446 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -3018,8 +3018,8 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ EmitLoadTypeFeedbackVector(a2); |
__ li(a3, 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. |
__ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |