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

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

Issue 340783011: Take inheritance into account when computing the elements accessible by mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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: 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 d31006f2fdf80e1a1d664a882729c0577b0137f8..7397d609f54ed9e6b220f988e01e3c2dbec142db 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -65,6 +65,12 @@ class Universe {
final Set<Element> genericClosures = new Set<Element>();
/**
+ * Set of all closures in the program. Used by the mirror tracking system
+ * to find all live closure instances.
+ */
+ final Set<Element> allClosures = new Set<Element>();
Johnni Winther 2014/06/27 07:43:02 Set<Element> -> Set<FunctionElement>.
herhut 2014/06/27 12:34:38 Done.
+
+ /**
* Set of methods in instantiated classes that are potentially
* closurized.
*/

Powered by Google App Engine
This is Rietveld 408576698