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

Unified Diff: pkg/front_end/lib/kernel_generator.dart

Issue 2874723002: Add a way to use shared CanonicalName root to deserialize Program. (Closed)
Patch Set: Always compute canonical names. Use shared name root. 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
Index: pkg/front_end/lib/kernel_generator.dart
diff --git a/pkg/front_end/lib/kernel_generator.dart b/pkg/front_end/lib/kernel_generator.dart
index 68aebfaf5ab0ac05da64ddebea06a8e41942de4b..1c48f1f7f9c52ef6d32186629c7d09cf3b1ca806 100644
--- a/pkg/front_end/lib/kernel_generator.dart
+++ b/pkg/front_end/lib/kernel_generator.dart
@@ -54,7 +54,7 @@ Future<Program> kernelForProgram(Uri source, CompilerOptions options) async {
PhysicalFileSystem.instance, null, options.packagesFileUri);
var dillTarget =
- new DillTarget(new Ticker(isVerbose: false), uriTranslator);
+ new DillTarget(null, new Ticker(isVerbose: false), uriTranslator);
var summary = options.sdkSummary;
if (summary != null) dillTarget.read(summary);

Powered by Google App Engine
This is Rietveld 408576698