From 1251d02e7bb2a13ae5cf6fda5d3403730d2ae12f Mon Sep 17 00:00:00 2001 From: mstarzinger Date: Thu, 16 Jul 2015 08:39:29 -0700 Subject: [PATCH] [turbofan] Ship TF for try-catch statements. R=hablich@chromium.org BUG=v8:4131 LOG=N Review URL: https://codereview.chromium.org/1216373002 Cr-Commit-Position: refs/heads/master@{#29708} --- src/ast-numbering.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc index bf0f9ba..f5a7316 100644 --- a/src/ast-numbering.cc +++ b/src/ast-numbering.cc @@ -288,7 +288,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()); -- 2.7.4