Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index bd960264149e46013c621c06ee1c16612ce8ea8a..8a3d9430d4b1e421f3b31311d45721180a1295ac 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -306,7 +306,7 @@ void AstNumberingVisitor::VisitWhileStatement(WhileStatement* node) { |
void AstNumberingVisitor::VisitTryCatchStatement(TryCatchStatement* node) { |
IncrementNodeCount(); |
- DisableOptimization(kTryCatchStatement); |
+ DisableCrankshaft(kTryCatchStatement); |
Visit(node->try_block()); |
Visit(node->catch_block()); |
} |
@@ -314,7 +314,7 @@ void AstNumberingVisitor::VisitTryCatchStatement(TryCatchStatement* node) { |
void AstNumberingVisitor::VisitTryFinallyStatement(TryFinallyStatement* node) { |
IncrementNodeCount(); |
- DisableOptimization(kTryFinallyStatement); |
+ DisableCrankshaft(kTryFinallyStatement); |
Visit(node->try_block()); |
Visit(node->finally_block()); |
} |