Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index a4fabe2ac1a06fd032d52ad8330a02f3cb99a462..76fdd7f613a95f8a135ee9f30a774bf424f640bf 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2395,6 +2395,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
CallConstructStub stub(flags); |
__ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); |
+ PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
context()->Plug(r0); |
} |