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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/universe.dart

Issue 11299009: Support type literals as compile-time constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/universe/universe.dart
diff --git a/sdk/lib/_internal/compiler/implementation/universe/universe.dart b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
index ced6600055c5b0ad88cd96bbaf2dd87207e88639..11303c2713d390d09899e6c223e3f2486d7aa2da 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -49,7 +49,8 @@ class Universe {
final Map<SourceString, Set<Selector>> fieldGetters;
final Map<SourceString, Set<Selector>> fieldSetters;
final Set<DartType> isChecks;
- final RuntimeTypeInformation rti;
+ /// Runtime type information support. This field is only set in the backend.
+ RuntimeTypeInformation rti;
Universe() : generatedCode = new Map<Element, CodeBuffer>(),
generatedBailoutCode = new Map<Element, CodeBuffer>(),
@@ -60,8 +61,7 @@ class Universe {
invokedSetters = new Map<SourceString, Set<Selector>>(),
fieldGetters = new Map<SourceString, Set<Selector>>(),
fieldSetters = new Map<SourceString, Set<Selector>>(),
- isChecks = new Set<DartType>(),
- rti = new RuntimeTypeInformation();
+ isChecks = new Set<DartType>();
void addGeneratedCode(WorkItem work, CodeBuffer codeBuffer) {
assert(invariant(work.element, work.element.isDeclaration));

Powered by Google App Engine
This is Rietveld 408576698