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

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: rebased + fixes 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 b9532d2b6b4f38aef333f22b5b2bf252ba371b3b..6a933db05a1da8ab4da493ecc3c69720d9eaae3b 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<FunctionElement> allClosures = new Set<FunctionElement>();
+
+ /**
* Set of methods in instantiated classes that are potentially
* closurized.
*/

Powered by Google App Engine
This is Rietveld 408576698