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

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

Issue 2898983005: Add ClosureClassMaps super interface for ClosureTask (Closed)
Patch Set: Updated cf. comments Created 3 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/locals_handler.dart ('k') | pkg/compiler/lib/src/ssa/ssa_branch_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
diff --git a/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart b/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
index 97555146665d1cb2493dda7dde3d0e2d37582fff..629a70bf9ad3471c9998151cb77f87bdd9bc76f3 100644
--- a/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
+++ b/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
@@ -36,13 +36,16 @@ class RastaSsaBuilderTask extends SsaAstBuilderBase {
new KernelAstTypeInferenceMap(astAdapter);
KernelSsaBuilder builder = new KernelSsaBuilder(
element,
+ astAdapter.getInitialKernelNode(element),
backend.compiler,
astAdapter,
typeInferenceMap,
closedWorld,
work.registry,
+ backend.compiler.closureToClassMapper,
sourceInformationFactory.createBuilderForContext(resolvedAst),
- resolvedAst.kind == ResolvedAstKind.PARSED ? resolvedAst.node : null);
+ resolvedAst.kind == ResolvedAstKind.PARSED ? resolvedAst.node : null,
+ targetIsConstructorBody: element is ConstructorBodyElement);
HGraph graph = builder.build();
if (backend.tracer.isEnabled) {
« no previous file with comments | « pkg/compiler/lib/src/ssa/locals_handler.dart ('k') | pkg/compiler/lib/src/ssa/ssa_branch_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698