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

Unified Diff: pkg/compiler/lib/src/common/backend_api.dart

Issue 2568723007: Create Namer and Emitter on codegen start. (Closed)
Patch Set: Small fix. Created 4 years 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 | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/backend_api.dart
diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart
index aef574dce26273a148fdfa7a645c28a1fbeac05f..dcf0ec9c05d301eca176288f89b7faf6e3dd0670 100644
--- a/pkg/compiler/lib/src/common/backend_api.dart
+++ b/pkg/compiler/lib/src/common/backend_api.dart
@@ -103,7 +103,7 @@ abstract class Backend extends Target {
}
/// Generates the output and returns the total size of the generated code.
- int assembleProgram();
+ int assembleProgram(ClosedWorld closedWorld);
List<CompilerTask> get tasks;
@@ -311,7 +311,7 @@ abstract class Backend extends Target {
/// Called when the compiler starts running the codegen enqueuer. The
/// [WorldImpact] of enabled backend features is returned.
- WorldImpact onCodegenStart() => const WorldImpact();
+ WorldImpact onCodegenStart(ClosedWorld closedWorld) => const WorldImpact();
// Does this element belong in the output
bool shouldOutput(Element element) => true;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698