Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 74beeec189b3362309ab172c07dbfbb4486d0376..e43837964eb666eb7ccc03149a5ccdeaf5a4c6ba 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3291,6 +3291,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. |