Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 73aaf46abde31a4bb33c734e2c76afc3d2942e54..be70f638cef1da7ef25980a460cb636eda1abeae 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -789,7 +789,7 @@ void FullCodeGenerator::PrepareForBailoutBeforeSplit(Expression* expr, |
// Only prepare for bailouts before splits if we're in a test |
// context. Otherwise, we let the Visit function deal with the |
// preparation to avoid preparing with the same AST id twice. |
- if (!context()->IsTest() || !info_->IsOptimizable()) return; |
+ if (!context()->IsTest()) return; |
// TODO(all): Investigate to see if there is something to work on here. |
Label skip; |