Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 201742efec74a2c7e98d50c030645f794155be42..c8a7491b676c0160bbba5e3f2870ada5b99bfa2d 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2419,6 +2419,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
CallConstructStub stub(flags); |
__ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); |
+ PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
context()->Plug(v0); |
} |