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

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

Issue 11557010: Implement subtype checks on type arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot a change to a comment. Created 8 years 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 446d835cea79aa625319fcdbd7aa11d9f7ac9edc..13db4fbbbb7f80c824d1b27082c2821a93785e16 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -34,7 +34,9 @@ class Universe {
*
* Invariant: Elements are declaration elements.
*/
+ // TODO(karlklose): these sets should be merged.
final Set<ClassElement> instantiatedClasses;
+ final Set<DartType> instantiatedTypes;
/**
* Documentation wanted -- johnniwinther
@@ -52,6 +54,7 @@ class Universe {
Universe() : generatedCode = new Map<Element, CodeBuffer>(),
generatedBailoutCode = new Map<Element, CodeBuffer>(),
instantiatedClasses = new Set<ClassElement>(),
+ instantiatedTypes = new Set<DartType>(),
staticFunctionsNeedingGetter = new Set<FunctionElement>(),
invokedNames = new Map<SourceString, Set<Selector>>(),
invokedGetters = new Map<SourceString, Set<Selector>>(),

Powered by Google App Engine
This is Rietveld 408576698