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

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

Issue 1762723002: Cleanup 1: split parts into their own libraries, remove unused imports (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 'cps_fragment.dart' show CpsFragment; 7 import 'cps_fragment.dart' show CpsFragment;
8 import 'cps_ir_nodes_sexpr.dart'; 8 import 'cps_ir_nodes_sexpr.dart';
9 import '../constants/values.dart' as values; 9 import '../constants/values.dart' as values;
10 import '../dart_types.dart' show DartType, InterfaceType, TypeVariableType; 10 import '../dart_types.dart' show DartType, InterfaceType, TypeVariableType;
11 import '../elements/elements.dart'; 11 import '../elements/elements.dart';
12 import '../io/source_information.dart' show SourceInformation; 12 import '../io/source_information.dart' show SourceInformation;
13 import '../types/types.dart' show TypeMask; 13 import '../types/types.dart' show TypeMask;
14 import '../universe/selector.dart' show Selector; 14 import '../universe/selector.dart' show Selector;
15 import '../universe/side_effects.dart';
16 15
17 import 'builtin_operator.dart'; 16 import 'builtin_operator.dart';
18 export 'builtin_operator.dart'; 17 export 'builtin_operator.dart';
19 18
20 import 'effects.dart'; 19 import 'effects.dart';
21 20
22 // These imports are only used for the JavaScript specific nodes. If we want to 21 // These imports are only used for the JavaScript specific nodes. If we want to
23 // support more than one native backend, we should probably create better 22 // support more than one native backend, we should probably create better
24 // abstractions for native code and its type and effect system. 23 // abstractions for native code and its type and effect system.
25 import '../js/js.dart' as js show Template, isNullGuardOnFirstArgument; 24 import '../js/js.dart' as js show Template, isNullGuardOnFirstArgument;
(...skipping 3058 matching lines...) Expand 10 before | Expand all | Expand 10 after
3084 plug(new Branch.loose( 3083 plug(new Branch.loose(
3085 _definitions.getCopy(node.conditionRef), 3084 _definitions.getCopy(node.conditionRef),
3086 _copies[node.trueContinuation], 3085 _copies[node.trueContinuation],
3087 _copies[node.falseContinuation])..isStrictCheck = node.isStrictCheck); 3086 _copies[node.falseContinuation])..isStrictCheck = node.isStrictCheck);
3088 } 3087 }
3089 3088
3090 visitUnreachable(Unreachable node) { 3089 visitUnreachable(Unreachable node) {
3091 plug(new Unreachable()); 3090 plug(new Unreachable());
3092 } 3091 }
3093 } 3092 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698