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

Unified Diff: pkg/front_end/lib/src/incremental_kernel_generator_impl.dart

Issue 2665723002: Implement canonical name scheme in kernel. (Closed)
Patch Set: Address comments Created 3 years, 11 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/src/incremental_kernel_generator_impl.dart
diff --git a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
index 50473ebc34fb0f6466988b3b2f0cc7c1c9c41bfe..e35e1a524b73d284943b80f84ab4ca9300f30ab2 100644
--- a/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
+++ b/pkg/front_end/lib/src/incremental_kernel_generator_impl.dart
@@ -72,11 +72,11 @@ class IncrementalKernelGeneratorImpl implements IncrementalKernelGenerator {
var analysisOptions = new _AnalysisOptionsProxy(strongMode);
var context =
new _AnalysisContextProxy(deltaLibraries.newState, analysisOptions);
- var repository = new Repository();
+ var program = new Program();
var loader =
- new DartLoader(repository, kernelOptions, packages, context: context);
+ new DartLoader(program, kernelOptions, packages, context: context);
loader.loadLibrary(uri);
- kernels[uri] = new Program(repository.libraries);
+ kernels[uri] = program;
// TODO(paulberry) rework watch invocation to eliminate race condition,
// include part source files, and prevent watch from being a bottleneck
if (watch != null) await watch(uri, true);

Powered by Google App Engine
This is Rietveld 408576698