Commit 1251d02e authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[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}
parent bdd2be87
...@@ -288,7 +288,7 @@ void AstNumberingVisitor::VisitWhileStatement(WhileStatement* node) { ...@@ -288,7 +288,7 @@ void AstNumberingVisitor::VisitWhileStatement(WhileStatement* node) {
void AstNumberingVisitor::VisitTryCatchStatement(TryCatchStatement* node) { void AstNumberingVisitor::VisitTryCatchStatement(TryCatchStatement* node) {
IncrementNodeCount(); IncrementNodeCount();
DisableOptimization(kTryCatchStatement); DisableCrankshaft(kTryCatchStatement);
node->set_base_id(ReserveIdRange(TryCatchStatement::num_ids())); node->set_base_id(ReserveIdRange(TryCatchStatement::num_ids()));
Visit(node->try_block()); Visit(node->try_block());
Visit(node->catch_block()); Visit(node->catch_block());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment