Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 99b1b37842bdca5294560e5eb259986b2748ac99..272f9bde1128b64e4e7fd0615cd65a837f49f3c6 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(); |
- DisableCrankshaft(kTryCatchStatement); |
+ DisableOptimization(kTryCatchStatement); |
Visit(node->try_block()); |
Visit(node->catch_block()); |
} |