Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 6cd0a425452a6d197adc84ee6be82605b4408de3..c0ef286451ef2e8a5da8c545e68b0cab9fe77ee4 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -3022,8 +3022,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. |
__ ld(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |