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

Unified Diff: pkg/compiler/lib/src/kernel/kernel_backend_strategy.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/kernel/elements.dart ('k') | pkg/compiler/lib/src/kernel/kernel_visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
diff --git a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
index 1546c2f49343a57df4e225ab0a97bdbbbd43b72a..69c9154721c1dab7b433d0702681f96c5d134865 100644
--- a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
+++ b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
@@ -73,6 +73,10 @@ class KernelBackendStrategy implements BackendStrategy {
SourceInformationStrategy sourceInformationStrategy) {
return new KernelSsaBuilderTask(backend.compiler);
}
+
+ @override
+ SourceInformationStrategy get sourceInformationStrategy =>
+ const SourceInformationStrategy();
}
class KernelCodegenWorkItemBuilder implements WorkItemBuilder {
@@ -123,9 +127,9 @@ class KernelSsaBuilderTask extends CompilerTask implements SsaBuilderTask {
new KernelToTypeInferenceMapImpl(closedWorld),
closedWorld,
work.registry,
+ // TODO(johnniwinther): Support these:
const KernelClosureClassMaps(),
const SourceInformationBuilder(),
- // TODO(johnniwinther): Support these:
null, // Function node used as capture scope id.
targetIsConstructorBody: false);
return builder.build();
« no previous file with comments | « pkg/compiler/lib/src/kernel/elements.dart ('k') | pkg/compiler/lib/src/kernel/kernel_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698