Index: dart/pkg/dart2js_incremental/lib/caching_compiler.dart |
diff --git a/dart/pkg/dart2js_incremental/lib/caching_compiler.dart b/dart/pkg/dart2js_incremental/lib/caching_compiler.dart |
index a20e8340dcec0b2d7970071e09ebde20127ad501..f364acd1c99ad29a86212a04638121aae1a236dc 100644 |
--- a/dart/pkg/dart2js_incremental/lib/caching_compiler.dart |
+++ b/dart/pkg/dart2js_incremental/lib/caching_compiler.dart |
@@ -106,7 +106,9 @@ Future<Compiler> reuseCompiler( |
// must be invalidated). |
backend.emitter.oldEmitter.cachedElements.add(null); |
- compiler.enqueuer.codegen.newlyEnqueuedElements.clear(); |
+ compiler.enqueuer.codegen |
+ ..newlyEnqueuedElements.clear() |
+ ..newlySeenSelectors.clear(); |
backend.emitter.oldEmitter.containerBuilder |
..staticGetters.clear(); |
@@ -139,7 +141,6 @@ Future<Compiler> reuseCompiler( |
..deferredConstants.clear() |
..isolateProperties = null |
..classesCollector = null |
- ..neededClasses.clear() |
..outputClassLists.clear() |
..nativeClasses.clear() |
..mangledFieldNames.clear() |