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

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

Issue 1278503004: Revert "Move dart2jslib parts into separate libraries." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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) 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 4
5 library dart2js.ir_builder; 5 library dart2js.ir_builder;
6 6
7 import '../compile_time_constants.dart' show BackendConstantEnvironment; 7 import '../compile_time_constants.dart' show BackendConstantEnvironment;
8 import '../constants/constant_system.dart'; 8 import '../constants/constant_system.dart';
9 import '../constants/values.dart' show ConstantValue, PrimitiveConstantValue; 9 import '../constants/values.dart' show ConstantValue, PrimitiveConstantValue;
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
11 import '../dart2jslib.dart'; 11 import '../dart2jslib.dart';
12 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
13 import '../io/source_information.dart'; 13 import '../io/source_information.dart';
14 import '../tree/tree.dart' as ast; 14 import '../tree/tree.dart' as ast;
15 import '../types/types.dart' show TypeMask; 15 import '../types/types.dart' show TypeMask;
16 import '../closure.dart' hide ClosureScope; 16 import '../closure.dart' hide ClosureScope;
17 import '../universe/universe.dart' show 17 import '../universe/universe.dart' show SelectorKind;
18 CallStructure,
19 Selector,
20 SelectorKind;
21 import 'cps_ir_nodes.dart' as ir; 18 import 'cps_ir_nodes.dart' as ir;
22 import 'cps_ir_builder_task.dart' show DartCapturedVariables, 19 import 'cps_ir_builder_task.dart' show DartCapturedVariables,
23 GlobalProgramInformation; 20 GlobalProgramInformation;
24 21
25 import '../common.dart' as types show TypeMask; 22 import '../common.dart' as types show TypeMask;
26 import '../js/js.dart' as js show Template; 23 import '../js/js.dart' as js show Template;
27 import '../native/native.dart' show NativeBehavior; 24 import '../native/native.dart' show NativeBehavior;
28 25
29 /// A mapping from variable elements to their compile-time values. 26 /// A mapping from variable elements to their compile-time values.
30 /// 27 ///
(...skipping 2755 matching lines...) Expand 10 before | Expand all | Expand 10 after
2786 } 2783 }
2787 2784
2788 class SwitchCaseInfo { 2785 class SwitchCaseInfo {
2789 final List<ir.Primitive> constants = <ir.Primitive>[]; 2786 final List<ir.Primitive> constants = <ir.Primitive>[];
2790 final SubbuildFunction buildBody; 2787 final SubbuildFunction buildBody;
2791 2788
2792 SwitchCaseInfo(this.buildBody); 2789 SwitchCaseInfo(this.buildBody);
2793 2790
2794 void addConstant(ir.Primitive constant) => constants.add(constant); 2791 void addConstant(ir.Primitive constant) => constants.add(constant);
2795 } 2792 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698