Index: pkg/compiler/lib/src/ssa/kernel_impact.dart |
diff --git a/pkg/compiler/lib/src/ssa/kernel_impact.dart b/pkg/compiler/lib/src/ssa/kernel_impact.dart |
index 07d42d19d395ec603c10e5264749b78ddb35cd68..05070ff5c86fcc9095a33a5b6317244b4ab0cd89 100644 |
--- a/pkg/compiler/lib/src/ssa/kernel_impact.dart |
+++ b/pkg/compiler/lib/src/ssa/kernel_impact.dart |
@@ -48,15 +48,8 @@ class KernelImpactBuilder extends ir.Visitor { |
KernelImpactBuilder(this.function, this.functionElement, this.resolvedAst, |
this.compiler, Kernel kernel) { |
this.impactBuilder = new ResolutionWorldImpactBuilder('$functionElement'); |
- this.astAdapter = new KernelAstAdapter( |
- compiler.backend, |
- resolvedAst, |
- kernel.nodeToAst, |
- kernel.nodeToElement, |
- kernel.fields, |
- kernel.functions, |
- kernel.classes, |
- kernel.libraries); |
+ this.astAdapter = new KernelAstAdapter(kernel, compiler.backend, |
+ resolvedAst, kernel.nodeToAst, kernel.nodeToElement); |
} |
ResolutionImpact build() { |