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

Unified Diff: lib/compiler/implementation/compiler.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 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: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index e80dbaaf4351193c931f2b83f5ce8f27e36180bd..d05f9c8aa4371314d69f98d87a43d211c27599ae 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -511,7 +511,7 @@ abstract class Compiler implements DiagnosticListener {
}
void processQueue(Enqueuer world, Element main) {
- backend.processNativeClasses(world, libraries.getValues());
+ backend.processNativeClasses(world, libraries.values);
world.addToWorkList(main);
progress.reset();
world.forEach((WorkItem work) {
@@ -537,8 +537,8 @@ abstract class Compiler implements DiagnosticListener {
internalErrorOnElement(work.element, "Work list is not empty.");
});
}
- var resolved = new Set.from(enqueuer.resolution.resolvedElements.getKeys());
- for (Element e in codegenWorld.generatedCode.getKeys()) {
+ var resolved = new Set.from(enqueuer.resolution.resolvedElements.keys);
+ for (Element e in codegenWorld.generatedCode.keys) {
resolved.remove(e);
}
for (Element e in new Set.from(resolved)) {
« no previous file with comments | « lib/compiler/implementation/compile_time_constants.dart ('k') | lib/compiler/implementation/dart_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698