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

Unified Diff: lib/compiler/implementation/ssa/variable_allocator.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/ssa/variable_allocator.dart
diff --git a/lib/compiler/implementation/ssa/variable_allocator.dart b/lib/compiler/implementation/ssa/variable_allocator.dart
index 1f16c6ff8cf11b1aeb86734e5312b721cb32f92d..e115ced83201da3edc6384544d0ecce791b12ef6 100644
--- a/lib/compiler/implementation/ssa/variable_allocator.dart
+++ b/lib/compiler/implementation/ssa/variable_allocator.dart
@@ -389,7 +389,7 @@ class VariableNames {
/** Returns a fresh variable with the given prefix. */
static String computeFreshWithPrefix(String prefix,
Map<Element, String> parameterNames) {
- Set<String> parameters = new Set<String>.from(parameterNames.getValues());
+ Set<String> parameters = new Set<String>.from(parameterNames.values);
String name = '${prefix}0';
int i = 1;
while (parameters.contains(name)) name = '$prefix${i++}';
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | lib/compiler/implementation/types/concrete_types_inferrer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698