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

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

Issue 626433004: Forget closure classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r40894 Created 6 years, 2 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: dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart b/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
index ed17d9d0e4aa3650ebaa96dfc58de565754f81a8..cbfedd4e65844355ef385dfbc51ce1a56577be90 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -651,6 +651,7 @@ abstract class Enqueuer {
void forgetElement(Element element) {
universe.forgetElement(element, compiler);
+ seenClasses.remove(element);
}
}
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/closure.dart ('k') | dart/tests/try/poi/forget_element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698