| Index: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
|
| diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
|
| index c67b2b58f287aec8466755c4a07e8ed16e0fc5f9..5a61847b2ab96b6e82932635187de65338da68b6 100644
|
| --- a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
|
| +++ b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
|
| @@ -453,6 +453,19 @@ class Builder implements cps_ir.Visitor<Node> {
|
| return continueWithExpression(node.continuation, concat);
|
| }
|
|
|
| + Statement visitThrow(cps_ir.Throw node) {
|
| + Expression value = getVariableUse(node.value);
|
| + return new Throw(value);
|
| + }
|
| +
|
| + Statement visitRethrow(cps_ir.Rethrow node) {
|
| + return new Rethrow();
|
| + }
|
| +
|
| + Expression visitNonTailThrow(cps_ir.NonTailThrow node) {
|
| + unexpectedNode(node);
|
| + }
|
| +
|
| Statement continueWithExpression(cps_ir.Reference continuation,
|
| Expression expression) {
|
| cps_ir.Continuation cont = continuation.definition;
|
|
|