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

Unified Diff: pkg/dart2js_incremental/lib/library_updater.dart

Issue 869093003: dart2js: Rename metadataEmitter to metadataCollector and make it independent of old emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix more long lines. Created 5 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/dart2js_incremental/lib/library_updater.dart
diff --git a/pkg/dart2js_incremental/lib/library_updater.dart b/pkg/dart2js_incremental/lib/library_updater.dart
index 8f9876ff897eea3c01f8e54cee1cc781cbb7921d..217abdb2d4853783d13c2de8ca69473bba837605 100644
--- a/pkg/dart2js_incremental/lib/library_updater.dart
+++ b/pkg/dart2js_incremental/lib/library_updater.dart
@@ -154,13 +154,14 @@ class IncrementalCompilerContext extends _IncrementalCompilerContext {
}
void _captureState(Compiler compiler) {
- _emittedClasses = new Set.from(compiler.backend.emitter.neededClasses);
+ JavaScriptBackend backend = compiler.backend;
+ _emittedClasses = new Set.from(backend.emitter.neededClasses);
_directlyInstantiatedClasses =
new Set.from(compiler.codegenWorld.directlyInstantiatedClasses);
List<ConstantValue> constants =
- compiler.backend.emitter.outputConstantLists[
+ backend.emitter.outputConstantLists[
compiler.deferredLoadTask.mainOutputUnit];
if (constants == null) constants = <ConstantValue>[];
_compiledConstants = new Set<ConstantValue>.identity()..addAll(constants);

Powered by Google App Engine
This is Rietveld 408576698