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

Unified Diff: lib/compiler/implementation/dart_backend/backend.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
« no previous file with comments | « lib/compiler/implementation/compiler.dart ('k') | lib/compiler/implementation/dart_backend/renamer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index dd1178afd3b59a6956b8ccb52a15b7407fd0c6be..bbccd17c24d7a693d1b4094bcfb6af998ecc5e00 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -135,7 +135,7 @@ class DartBackend extends Backend {
Set<DartType> processedTypes = new Set<DartType>();
List<DartType> workQueue = new List<DartType>();
workQueue.addAll(
- classMembers.getKeys().map((classElement) => classElement.type));
+ classMembers.keys.map((classElement) => classElement.type));
workQueue.addAll(compiler.resolverWorld.isChecks);
Element typeErrorElement =
compiler.coreLibrary.find(new SourceString('TypeError'));
@@ -226,7 +226,7 @@ class DartBackend extends Backend {
// however as of today there are problems with names of some core library
// interfaces, most probably for interfaces of literals.
final fixedMemberNames = new Set<String>();
- for (final library in compiler.libraries.getValues()) {
+ for (final library in compiler.libraries.values) {
if (!library.isPlatformLibrary) continue;
library.implementation.forEachLocalMember((Element element) {
if (element is ClassElement) {
@@ -344,7 +344,7 @@ class DartBackend extends Backend {
new Identifier(new StringToken(IDENTIFIER_INFO, '', -1));
NextClassElement:
- for (ClassElement classElement in classMembers.getKeys()) {
+ for (ClassElement classElement in classMembers.keys) {
for (Element member in classMembers[classElement]) {
if (member.isConstructor()) continue NextClassElement;
}
@@ -445,7 +445,7 @@ class DartBackend extends Backend {
void logResultBundleSizeInfo(Set<Element> topLevelElements) {
Collection<LibraryElement> referencedLibraries =
- compiler.libraries.getValues().filter(isUserLibrary);
+ compiler.libraries.values.filter(isUserLibrary);
// Sum total size of scripts in each referenced library.
int nonPlatformSize = 0;
for (LibraryElement lib in referencedLibraries) {
« no previous file with comments | « lib/compiler/implementation/compiler.dart ('k') | lib/compiler/implementation/dart_backend/renamer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698