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

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

Issue 1910473003: Remove invalidated elements from enqueuer and resolution. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
« pkg/compiler/lib/src/compiler.dart ('K') | « pkg/compiler/lib/src/compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/enqueue.dart
diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
index eb7788cb22c8443119217c520ee1c28cf2eaaeda..8f1f1b754bc7c61da01c8572b09e3b15417fac92 100644
--- a/pkg/compiler/lib/src/enqueue.dart
+++ b/pkg/compiler/lib/src/enqueue.dart
@@ -701,6 +701,8 @@ abstract class Enqueuer {
void forgetElement(Element element) {
universe.forgetElement(element, compiler);
_processedClasses.remove(element);
+ instanceMembersByName[element.name]?.remove(element);
+ instanceFunctionsByName[element.name]?.remove(element);
}
}
« pkg/compiler/lib/src/compiler.dart ('K') | « pkg/compiler/lib/src/compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698