Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 24747ee9e85b11d7e3fed1b50e70db0d2073e9b2..2740831b41bab844766d56ddd94ac453e5b27ce2 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4636,6 +4636,7 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
ToNumberStub convert_stub(isolate()); |
__ CallStub(&convert_stub); |
+ PrepareForBailoutForId(expr->ToNumberId(), TOS_REG); |
// Save result for postfix expressions. |
if (expr->is_postfix()) { |