Chromium Code Reviews| 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. |