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

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

Issue 10834358: Remove cached constructor elements from the resolver. They are already stored in the resolution wor… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index fae30e27db03de34ff5af27137d4e76e7d4c6eb7..c9e599a0aa297a44db690e9fca6ae45baf182c66 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -939,6 +939,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
buildInitializers(constructor, constructors, fieldValues);
elements = oldElements;
}
+
/**
* Run through the initializers and inline all field initializers. Recursively
* inlines super initializers.
@@ -1033,8 +1034,6 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
}
});
- final Map<FunctionElement, TreeElements> constructorElements =
- compiler.resolver.constructorElements;
List<FunctionElement> constructors = <FunctionElement>[functionElement];
// Analyze the constructor and all referenced constructors and collect
« no previous file with comments | « lib/compiler/implementation/resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698