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

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: Address Kasper's comments. 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..5675d8b420a77adc01b998e284306c30d0f7dc9f 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -35,6 +35,7 @@ class Universe {
* Invariant: Elements are declaration elements.
*/
final Set<ClassElement> instantiatedClasses;
+ final Set<DartType> instantiatedTypes;
ngeoffray 2012/12/13 13:34:58 TODO: merge these sets?
karlklose 2012/12/13 14:37:34 Done.
/**
* Documentation wanted -- johnniwinther
@@ -52,6 +53,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