Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(943)

Side by Side Diff: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library tree_ir_builder; 5 library tree_ir_builder;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../constants/values.dart'; 8 import '../constants/values.dart';
9 import '../cps_ir/cps_ir_nodes.dart' as cps_ir; 9 import '../cps_ir/cps_ir_nodes.dart' as cps_ir;
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
11 import '../io/source_information.dart'; 11 import '../io/source_information.dart';
12 import '../js_backend/codegen/glue.dart'; 12 import '../js_backend/codegen/glue.dart';
13
14 import 'tree_ir_nodes.dart'; 13 import 'tree_ir_nodes.dart';
15 14
16 typedef Statement NodeCallback(Statement next); 15 typedef Statement NodeCallback(Statement next);
17 16
18 /** 17 /**
19 * Builder translates from CPS-based IR to direct-style Tree. 18 * Builder translates from CPS-based IR to direct-style Tree.
20 * 19 *
21 * A call `Invoke(fun, cont, args)`, where cont is a singly-referenced 20 * A call `Invoke(fun, cont, args)`, where cont is a singly-referenced
22 * non-exit continuation `Cont(v, body)` is translated into a direct-style call 21 * non-exit continuation `Cont(v, body)` is translated into a direct-style call
23 * whose value is bound in the continuation body: 22 * whose value is bound in the continuation body:
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 visitFunctionDefinition(cps_ir.FunctionDefinition node) { 764 visitFunctionDefinition(cps_ir.FunctionDefinition node) {
766 unexpectedNode(node); 765 unexpectedNode(node);
767 } 766 }
768 767
769 visitParameter(cps_ir.Parameter node) => unexpectedNode(node); 768 visitParameter(cps_ir.Parameter node) => unexpectedNode(node);
770 visitContinuation(cps_ir.Continuation node) => unexpectedNode(node); 769 visitContinuation(cps_ir.Continuation node) => unexpectedNode(node);
771 visitMutableVariable(cps_ir.MutableVariable node) => unexpectedNode(node); 770 visitMutableVariable(cps_ir.MutableVariable node) => unexpectedNode(node);
772 visitRethrow(cps_ir.Rethrow node) => unexpectedNode(node); 771 visitRethrow(cps_ir.Rethrow node) => unexpectedNode(node);
773 visitBoundsCheck(cps_ir.BoundsCheck node) => unexpectedNode(node); 772 visitBoundsCheck(cps_ir.BoundsCheck node) => unexpectedNode(node);
774 } 773 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/tree_ir/optimization/variable_merger.dart ('k') | pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698