Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 834d328bd25a5134bdb88e3a3eb591997e500441..b4cbde2bb4c7611decc865f4f90ddc51e76ecfed 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -305,7 +305,7 @@ void AstNumberingVisitor::VisitWhileStatement(WhileStatement* node) { |
void AstNumberingVisitor::VisitTryCatchStatement(TryCatchStatement* node) { |
IncrementNodeCount(); |
- DisableOptimization(kTryCatchStatement); |
+ DisableCrankshaft(kTryCatchStatement); |
node->set_base_id(ReserveIdRange(TryCatchStatement::num_ids())); |
Visit(node->try_block()); |
Visit(node->catch_block()); |