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

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: Update test expectations. 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;
/**
* 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>(),
ngeoffray 2012/12/12 12:09:11 Should we remove instantiatedClasses?
karlklose 2012/12/12 14:50:47 I am not sure. I'll add a comment.
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