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

Unified Diff: pkg/compiler/lib/src/helpers/debug_collection.dart

Issue 1394923003: Use WorldImpact for element dependencies in deferred_load (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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: pkg/compiler/lib/src/helpers/debug_collection.dart
diff --git a/pkg/compiler/lib/src/helpers/debug_collection.dart b/pkg/compiler/lib/src/helpers/debug_collection.dart
index 42e28c044c5b6b5700f5ac9265e3a3f533069b3b..8ff4be2277a44a8e4122d9140cc71206cf016897 100644
--- a/pkg/compiler/lib/src/helpers/debug_collection.dart
+++ b/pkg/compiler/lib/src/helpers/debug_collection.dart
@@ -233,7 +233,9 @@ class DebugSet<E> extends DebugIterable<E> implements Set<E> {
return set.add(value);
}
- void addAll(Iterable<E> elements) => set.addAll(elements);
+ void addAll(Iterable<E> elements) {
+ elements.forEach(add);
+ }
bool remove(Object value) => set.remove(value);

Powered by Google App Engine
This is Rietveld 408576698