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

Unified Diff: dart/pkg/dart2js_incremental/lib/library_updater.dart

Issue 730013003: Documentation to follow up on CLs 714843002 and 719443002. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on r41772. Created 6 years, 1 month 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
« no previous file with comments | « dart/pkg/compiler/lib/src/universe/universe.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/dart2js_incremental/lib/library_updater.dart
diff --git a/dart/pkg/dart2js_incremental/lib/library_updater.dart b/dart/pkg/dart2js_incremental/lib/library_updater.dart
index 532b5840ee166302c263819fed6e90f298d8fe8d..7a8bbe893a367623c4e3f1ada527b87396413855 100644
--- a/dart/pkg/dart2js_incremental/lib/library_updater.dart
+++ b/dart/pkg/dart2js_incremental/lib/library_updater.dart
@@ -349,6 +349,9 @@ class LibraryUpdater extends JsFeatures {
' ${before} (${before.runtimeType} -> ${after.runtimeType}).');
}
+ /// Apply the collected [updates]. Return a list of elements that needs to be
+ /// recompiled after applying the updates. Any elements removed as a
+ /// consequence of applying the patches are added to [removals] if provided.
List<Element> applyUpdates([List<Update> removals]) {
for (Update update in updates) {
update.captureState();
« no previous file with comments | « dart/pkg/compiler/lib/src/universe/universe.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698