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

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

Issue 10386086: RFC: Start refactoring to provide more than a single backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/closure.dart
diff --git a/lib/compiler/implementation/ssa/closure.dart b/lib/compiler/implementation/ssa/closure.dart
index 09e025b3f8b8443de8f881e6a425bd70af186478..afbdfd302c505a54c34a0851a8ac24898e9e6aa5 100644
--- a/lib/compiler/implementation/ssa/closure.dart
+++ b/lib/compiler/implementation/ssa/closure.dart
@@ -123,7 +123,7 @@ class ClosureTranslator extends AbstractVisitor {
: capturedVariableMapping = new Map<Element, Element>(),
closures = <FunctionExpression>[],
this.compiler = compiler,
- this.closureDataCache = compiler.builder.closureDataCache;
+ this.closureDataCache = compiler.backend.builder.closureDataCache;
ClosureData translate(Node node) {
// Closures have already been analyzed when visiting the surrounding

Powered by Google App Engine
This is Rietveld 408576698