Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 135db06ac84d556ce78a01abeb74993282587a6a..d94806f94503716cbf9a03ac2eaa2988fe234fb3 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -2333,6 +2333,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
CallConstructStub stub(flags); |
__ call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); |
+ PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
context()->Plug(eax); |
} |