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

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

Issue 2897273002: Add FunctionEntity.asyncMarker and refactor SourceInformationStrategy to avoid ResolvedAst (Closed)
Patch Set: 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/codegen.dart ('k') | pkg/compiler/lib/src/typechecker.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 629a70bf9ad3471c9998151cb77f87bdd9bc76f3..d1cc4ee109ac60cc59ce661d605e749484c8f395 100644
--- a/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
+++ b/pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart
@@ -43,7 +43,7 @@ class RastaSsaBuilderTask extends SsaAstBuilderBase {
closedWorld,
work.registry,
backend.compiler.closureToClassMapper,
- sourceInformationFactory.createBuilderForContext(resolvedAst),
+ sourceInformationFactory.createBuilderForContext(work.element),
resolvedAst.kind == ResolvedAstKind.PARSED ? resolvedAst.node : null,
targetIsConstructorBody: element is ConstructorBodyElement);
HGraph graph = builder.build();
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/typechecker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698