Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 89530b0970c2ec89a90e95bd1381cbbb280690c4..ce1740cbe65e6d00979715aaca6f3e439e652e75 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -3179,6 +3179,7 @@ void FullCodeGenerator::VisitCountOperation(CountOperation* expr) { |
// Convert old value into a number. |
__ Call(isolate()->builtins()->ToNumber(), RelocInfo::CODE_TARGET); |
+ RestoreContext(); |
PrepareForBailoutForId(expr->ToNumberId(), BailoutState::TOS_REGISTER); |
// Save result for postfix expressions. |