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