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

Unified Diff: pkg/compiler/lib/src/kernel/task.dart

Issue 2874723002: Add a way to use shared CanonicalName root to deserialize Program. (Closed)
Patch Set: Actual changes. 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 | « no previous file | pkg/front_end/lib/src/fasta/dill/dill_loader.dart » ('j') | pkg/kernel/lib/ast.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/task.dart
diff --git a/pkg/compiler/lib/src/kernel/task.dart b/pkg/compiler/lib/src/kernel/task.dart
index 6b0cfdbdbe747eeffc34d6b7e9c097931102084a..6b140df199f848449eba33cec0a0234cfc8060c8 100644
--- a/pkg/compiler/lib/src/kernel/task.dart
+++ b/pkg/compiler/lib/src/kernel/task.dart
@@ -41,7 +41,8 @@ class KernelTask extends CompilerTask {
if (main == null) {
main = _compiler.backend.helperForMissingMain();
}
- return new ir.Program(kernel.libraryDependencies(library.canonicalUri))
+ return new ir.Program(
+ libraries: kernel.libraryDependencies(library.canonicalUri))
..mainMethod = kernel.functionToIr(main);
}
}
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/dill/dill_loader.dart » ('j') | pkg/kernel/lib/ast.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698