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

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

Issue 1220043005: dart2js send stats, includes: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/world.dart
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart
index 21dc96e25de66de1104ce55edcad97390ff0ca2f..0cc7622771dc6e021ffba63072475b8da698f5b4 100644
--- a/pkg/compiler/lib/src/world.dart
+++ b/pkg/compiler/lib/src/world.dart
@@ -365,6 +365,9 @@ class World implements ClassWorld {
compiler.internalError(cls, 'Class "${cls.name}" is not resolved.');
}
+ // TODO(sigmund): split into separate CL. See dartbug.com/23664
Johnni Winther 2015/07/13 19:21:44 Ahh, yes, the bug and its fix.
Siggi Cherem (dart-lang) 2015/09/29 01:39:34 :)
+ _subtypes.putIfAbsent(cls, () => new Set<ClassElement>()).add(cls);
+ _subclasses.putIfAbsent(cls, () => new Set<ClassElement>()).add(cls);
for (DartType type in cls.allSupertypes) {
Set<Element> subtypesOfSupertype =
_subtypes.putIfAbsent(type.element, () => new Set<ClassElement>());

Powered by Google App Engine
This is Rietveld 408576698