| 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);
|
|
|