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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart

Issue 11412086: Make 'where' lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: FilteredIterable/Iterator -> WhereIterable/Iterator. Created 8 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
Index: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index a790e6ed8c3c19e74c3499b9b739076b56c4e345..0ad0b85b5e80e94a6c0423a982dd6b2eaa8856b3 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -450,7 +450,7 @@ class DartBackend extends Backend {
}
void logResultBundleSizeInfo(Set<Element> topLevelElements) {
- Collection<LibraryElement> referencedLibraries =
+ Iterable<LibraryElement> referencedLibraries =
compiler.libraries.values.where(isUserLibrary);
// Sum total size of scripts in each referenced library.
int nonPlatformSize = 0;

Powered by Google App Engine
This is Rietveld 408576698