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

Unified Diff: pkg/front_end/lib/src/incremental/kernel_driver.dart

Issue 2975143002: Remove KernelDriver/IKG.invalidateAll(). (Closed)
Patch Set: Created 3 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/front_end/lib/src/incremental/kernel_driver.dart
diff --git a/pkg/front_end/lib/src/incremental/kernel_driver.dart b/pkg/front_end/lib/src/incremental/kernel_driver.dart
index 2fef1e0b37b9519b392e8475b30b7d46fca6ec74..d5a2db7e48cdfecf58470a0db877c5be25dcfc07 100644
--- a/pkg/front_end/lib/src/incremental/kernel_driver.dart
+++ b/pkg/front_end/lib/src/incremental/kernel_driver.dart
@@ -165,13 +165,6 @@ class KernelDriver {
_invalidatedFiles.add(uri);
}
- /// Flush the current file state completely.
- ///
- /// TODO(scheglov) Do we really need this functionality?
- void invalidateAll() {
- _invalidatedFiles.addAll(_fsState.fileUris);
- }
-
/// Ensure that [dillTarget] includes the [cycle] libraries. It already
/// contains all the libraries that sorted before the given [cycle] in
/// topological order. Return the result with the cycle libraries.
« no previous file with comments | « pkg/front_end/lib/incremental_kernel_generator.dart ('k') | pkg/front_end/lib/src/incremental_kernel_generator_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698