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

Unified Diff: pkg/compiler/lib/src/ssa/kernel_impact.dart

Issue 2335203005: kernel -> ssa: implement literal maps (Closed)
Patch Set: Created 4 years, 3 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 | « pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart ('k') | tests/compiler/dart2js/kernel/literals_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart ('k') | tests/compiler/dart2js/kernel/literals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698