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

Unified Diff: pkg/compiler/lib/src/compiler.dart

Issue 1115183002: Add ConstantConstructor to ConstantExpression system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 4671212ffad60e10fdac870bc96917479810655b..cfe245c0e9a4c0396576f2acdf4d4f90a8251513 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -852,9 +852,15 @@ abstract class Compiler implements DiagnosticListener {
Element identicalFunction;
Element loadLibraryFunction;
Element functionApplyMethod;
- Element intEnvironment;
- Element boolEnvironment;
- Element stringEnvironment;
+
+ /// The [int.fromEnvironment] constructor.
+ ConstructorElement intEnvironment;
+
+ /// The [bool.fromEnvironment] constructor.
+ ConstructorElement boolEnvironment;
+
+ /// The [String.fromEnvironment] constructor.
+ ConstructorElement stringEnvironment;
/// Tracks elements with compile-time errors.
final Set<Element> elementsWithCompileTimeErrors = new Set<Element>();

Powered by Google App Engine
This is Rietveld 408576698