Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 466c3f7238dec7e4a6cfde43700a2c699e16452b..5c932213761fbb7ea4148e2f4bf09b14840cae9b 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -2293,6 +2293,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
CallConstructStub stub(flags); |
__ Call(stub.GetCode(), RelocInfo::CONSTRUCT_CALL); |
+ PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
context()->Plug(rax); |
} |