| Index: pkg/dart2js_incremental/lib/caching_compiler.dart
|
| diff --git a/pkg/dart2js_incremental/lib/caching_compiler.dart b/pkg/dart2js_incremental/lib/caching_compiler.dart
|
| index 8c4f5bd073072e3487c41cb40ae25634f3775ac4..b7d9fff9f3816136c87a6897335fc9b493ebd078 100644
|
| --- a/pkg/dart2js_incremental/lib/caching_compiler.dart
|
| +++ b/pkg/dart2js_incremental/lib/caching_compiler.dart
|
| @@ -38,7 +38,7 @@ Compiler reuseCompiler(
|
| !compiler.hasIncrementalSupport ||
|
| compiler.hasCrashed ||
|
| compiler.compilerWasCancelled ||
|
| - compiler.enqueuer.resolution.hasEnqueuedEverything ||
|
| + compiler.enqueuer.resolution.hasEnqueuedReflectiveElements ||
|
| compiler.deferredLoadTask.splitProgram) {
|
| if (compiler != null && compiler.hasIncrementalSupport) {
|
| print('***FLUSH***');
|
| @@ -46,7 +46,7 @@ Compiler reuseCompiler(
|
| print('Unable to reuse compiler due to crash.');
|
| } else if (compiler.compilerWasCancelled) {
|
| print('Unable to reuse compiler due to cancel.');
|
| - } else if (compiler.enqueuer.resolution.hasEnqueuedEverything) {
|
| + } else if (compiler.enqueuer.resolution.hasEnqueuedReflectiveElements) {
|
| print('Unable to reuse compiler due to dart:mirrors.');
|
| } else if (compiler.deferredLoadTask.splitProgram) {
|
| print('Unable to reuse compiler due to deferred loading.');
|
| @@ -68,10 +68,10 @@ Compiler reuseCompiler(
|
| ..provider = inputProvider
|
| ..handler = diagnosticHandler
|
| ..enqueuer.resolution.queueIsClosed = false
|
| - ..enqueuer.resolution.hasEnqueuedEverything = false
|
| + ..enqueuer.resolution.hasEnqueuedReflectiveElements = false
|
| ..enqueuer.resolution.hasEnqueuedReflectiveStaticFields = false
|
| ..enqueuer.codegen.queueIsClosed = false
|
| - ..enqueuer.codegen.hasEnqueuedEverything = false
|
| + ..enqueuer.codegen.hasEnqueuedReflectiveElements = false
|
| ..enqueuer.codegen.hasEnqueuedReflectiveStaticFields = false
|
| ..assembledCode = null
|
| ..compilationFailed = false;
|
|
|