Skip to content

Commit 9aac80f

Browse files
jaro-sevcikCommit bot
authored andcommitted
Ship turbofan try-catch, try-finally, attempt N+1.
Review-Url: https://codereview.chromium.org/1996373002 Cr-Commit-Position: refs/heads/master@{#36419}
1 parent 48c2857 commit 9aac80f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ast/ast-numbering.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,15 +306,15 @@ void AstNumberingVisitor::VisitWhileStatement(WhileStatement* node) {
306306

307307
void AstNumberingVisitor::VisitTryCatchStatement(TryCatchStatement* node) {
308308
IncrementNodeCount();
309-
DisableOptimization(kTryCatchStatement);
309+
DisableCrankshaft(kTryCatchStatement);
310310
Visit(node->try_block());
311311
Visit(node->catch_block());
312312
}
313313

314314

315315
void AstNumberingVisitor::VisitTryFinallyStatement(TryFinallyStatement* node) {
316316
IncrementNodeCount();
317-
DisableOptimization(kTryFinallyStatement);
317+
DisableCrankshaft(kTryFinallyStatement);
318318
Visit(node->try_block());
319319
Visit(node->finally_block());
320320
}

0 commit comments

Comments
 (0)