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

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

Issue 1091443003: Move constant systems into their own libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix try/poi/forget_element_test Created 5 years, 8 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 | Annotate | Revision Log
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 '../constants/constant_system.dart';
7 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
8 import '../constants/values.dart' show PrimitiveConstantValue; 9 import '../constants/values.dart' show PrimitiveConstantValue;
9 import '../dart_types.dart'; 10 import '../dart_types.dart';
10 import '../dart2jslib.dart'; 11 import '../dart2jslib.dart';
11 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
12 import '../io/source_information.dart'; 13 import '../io/source_information.dart';
13 import '../tree/tree.dart' as ast; 14 import '../tree/tree.dart' as ast;
14 import '../closure.dart' hide ClosureScope; 15 import '../closure.dart' hide ClosureScope;
15 import '../universe/universe.dart' show SelectorKind; 16 import '../universe/universe.dart' show SelectorKind;
16 import 'cps_ir_nodes.dart' as ir; 17 import 'cps_ir_nodes.dart' as ir;
(...skipping 2642 matching lines...) Expand 10 before | Expand all | Expand 10 after
2659 } 2660 }
2660 2661
2661 /// Synthetic parameter to a JavaScript factory method that takes the type 2662 /// Synthetic parameter to a JavaScript factory method that takes the type
2662 /// argument given for the type variable [variable]. 2663 /// argument given for the type variable [variable].
2663 class TypeInformationParameter implements Local { 2664 class TypeInformationParameter implements Local {
2664 final TypeVariableElement variable; 2665 final TypeVariableElement variable;
2665 final ExecutableElement executableContext; 2666 final ExecutableElement executableContext;
2666 TypeInformationParameter(this.variable, this.executableContext); 2667 TypeInformationParameter(this.variable, this.executableContext);
2667 String get name => variable.name; 2668 String get name => variable.name;
2668 } 2669 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/constants/constant_system.dart ('k') | pkg/compiler/lib/src/cps_ir/optimizers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698