| Index: pkg/compiler/lib/src/ssa/builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
|
| index f9d87f94304cfb42add3c17338ba54c19881a5c1..2154da41cfae809840add72d7e6fbba4bc901f57 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -8449,6 +8449,8 @@ class InlineWeeder extends ast.Visitor {
|
| int maxInliningNodes,
|
| bool useMaxInliningNodes,
|
| {bool allowLoops: false}) {
|
| + if (function.resolvedAst.elements.containsTryStatement) return false;
|
| +
|
| InlineWeeder weeder =
|
| new InlineWeeder(maxInliningNodes, useMaxInliningNodes, allowLoops);
|
| ast.FunctionExpression functionExpression = function.node;
|
| @@ -8531,11 +8533,6 @@ class InlineWeeder extends ast.Visitor {
|
| seenReturn = true;
|
| }
|
|
|
| - void visitTryStatement(ast.Node node) {
|
| - if (!registerNode()) return;
|
| - tooDifficult = true;
|
| - }
|
| -
|
| void visitThrow(ast.Throw node) {
|
| if (!registerNode()) return;
|
| // For now, we don't want to handle throw after a return even if
|
|
|