[turbofan] Ship TF for try-catch statements.
authormstarzinger <mstarzinger@chromium.org>
Thu, 16 Jul 2015 15:39:29 +0000 (08:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 15:39:44 +0000 (15:39 +0000)
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

index bf0f9ba..f5a7316 100644 (file)
@@ -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());