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

Unified Diff: lib/compiler/implementation/ssa/builder.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/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index e867f6c16aa00e90ce73d9ab1ddfe1c83ec018f1..85495a5cbdf9de508b242242a786b03c319657fe 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -781,7 +781,7 @@ class SsaBuilder implements Visitor {
SsaBuilder(Compiler compiler, WorkItem work)
: this.compiler = compiler,
this.work = work,
- interceptors = compiler.builder.interceptors,
+ interceptors = compiler.backend.builder.interceptors,
ahe 2012/05/11 11:39:48 I think this will cause a type warning. compiler.b
Anton Muhin 2012/05/12 15:48:43 I am sorry I probably missed something, what kind
ngeoffray 2012/05/13 17:02:47 It will create a static type warning, eg: "interfa
Anton Muhin 2012/05/14 14:36:45 Thanks a lot for explanation, Nicolas! Q: how do
ahe 2012/05/14 15:56:41 If you want to make sure you run all the tests, yo
methodInterceptionEnabled = true,
elements = work.resolutionTree,
graph = new HGraph(),
@@ -1465,7 +1465,7 @@ class SsaBuilder implements Visitor {
}
visitFunctionExpression(FunctionExpression node) {
- ClosureData nestedClosureData = compiler.builder.closureDataCache[node];
+ ClosureData nestedClosureData = compiler.backend.builder.closureDataCache[node];
if (nestedClosureData === null) {
// TODO(floitsch): we can only assume that the reason for not having a
// closure data here is, because the function is inside an initializer.

Powered by Google App Engine
This is Rietveld 408576698