| Index: pkg/compiler/lib/src/js_emitter/metadata_collector.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/metadata_collector.dart b/pkg/compiler/lib/src/js_emitter/metadata_collector.dart
|
| index fdea7ff9b0872066437aea7c0cd3d859516f98e1..b51c470e6f7e61f113debe05117e6dc6e7992bd2 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/metadata_collector.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/metadata_collector.dart
|
| @@ -297,7 +297,7 @@ class MetadataCollector implements jsAst.TokenFinalizer {
|
| node, _compiler, renamerForNames: nameToKey);
|
| return _globalMetadataMap.putIfAbsent(printed, () {
|
| _BoundMetadataEntry result = new _BoundMetadataEntry(node);
|
| - if (_compiler.hasIncrementalSupport) {
|
| + if (_compiler.options.hasIncrementalSupport) {
|
| result.finalize(_globalMetadataCounter++);
|
| }
|
| return result;
|
| @@ -337,7 +337,7 @@ class MetadataCollector implements jsAst.TokenFinalizer {
|
| _BoundMetadataEntry result = new _BoundMetadataEntry(
|
| _computeTypeRepresentation(type,
|
| ignoreTypeVariables: ignoreTypeVariables));
|
| - if (_compiler.hasIncrementalSupport) {
|
| + if (_compiler.options.hasIncrementalSupport) {
|
| result.finalize(_globalTypesCounter++);
|
| }
|
| return result;
|
| @@ -376,7 +376,7 @@ class MetadataCollector implements jsAst.TokenFinalizer {
|
|
|
| jsAst.ArrayInitializer finalizeMap(Map<dynamic, _BoundMetadataEntry> map) {
|
| // When in incremental mode, we allocate entries eagerly.
|
| - if (_compiler.hasIncrementalSupport) {
|
| + if (_compiler.options.hasIncrementalSupport) {
|
| return new jsAst.ArrayInitializer(map.values.toList());
|
| }
|
|
|
|
|