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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart

Issue 26662006: Changed LinkedHashSet to Set and LinkedHashMap to Map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: HashMap -> Map. Created 7 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: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
index 71704ba355c59893a9baa84acf9c2a2b3df57f7c..0dff83395bea3f7e32a5c9b74d5c000d8d56daf6 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
@@ -160,7 +160,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
* we do this most of the time, because it reduces the size unless there
* is only one variable.
*/
- final LinkedHashSet<String> collectedVariableDeclarations;
+ final Set<String> collectedVariableDeclarations;
/**
* Set of variables and parameters that have already been declared.
@@ -180,7 +180,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
SsaCodeGenerator(this.backend, CodegenWorkItem work)
: this.work = work,
declaredLocals = new Set<String>(),
- collectedVariableDeclarations = new LinkedHashSet<String>(),
+ collectedVariableDeclarations = new Set<String>(),
currentContainer = new js.Block.empty(),
parameters = <js.Parameter>[],
expressionStack = <js.Expression>[],
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | sdk/lib/_internal/compiler/implementation/typechecker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698