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

Side by Side Diff: pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart

Issue 1348063002: Make the universe parts into small libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library dart2js.ir_nodes; 4 library dart2js.ir_nodes;
5 5
6 import 'dart:collection'; 6 import 'dart:collection';
7 import '../constants/values.dart' as values; 7 import '../constants/values.dart' as values;
8 import '../dart_types.dart' show DartType, InterfaceType, TypeVariableType; 8 import '../dart_types.dart' show DartType, InterfaceType, TypeVariableType;
9 import '../elements/elements.dart'; 9 import '../elements/elements.dart';
10 import '../io/source_information.dart' show SourceInformation; 10 import '../io/source_information.dart' show SourceInformation;
11 import '../types/types.dart' show TypeMask; 11 import '../types/types.dart' show TypeMask;
12 import '../universe/universe.dart' show Selector; 12 import '../universe/selector.dart' show Selector;
13 13
14 import 'builtin_operator.dart'; 14 import 'builtin_operator.dart';
15 export 'builtin_operator.dart'; 15 export 'builtin_operator.dart';
16 16
17 // These imports are only used for the JavaScript specific nodes. If we want to 17 // These imports are only used for the JavaScript specific nodes. If we want to
18 // support more than one native backend, we should probably create better 18 // support more than one native backend, we should probably create better
19 // abstractions for native code and its type and effect system. 19 // abstractions for native code and its type and effect system.
20 import '../js/js.dart' as js show Template; 20 import '../js/js.dart' as js show Template;
21 import '../native/native.dart' as native show NativeBehavior; 21 import '../native/native.dart' as native show NativeBehavior;
22 22
(...skipping 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 /// Visit a just-deleted subterm and unlink all [Reference]s in it. 1752 /// Visit a just-deleted subterm and unlink all [Reference]s in it.
1753 class RemovalVisitor extends RecursiveVisitor { 1753 class RemovalVisitor extends RecursiveVisitor {
1754 processReference(Reference reference) { 1754 processReference(Reference reference) {
1755 reference.unlink(); 1755 reference.unlink();
1756 } 1756 }
1757 1757
1758 static void remove(Node node) { 1758 static void remove(Node node) {
1759 (new RemovalVisitor()).visit(node); 1759 (new RemovalVisitor()).visit(node);
1760 } 1760 }
1761 } 1761 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698