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

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

Issue 740273003: Incremental compiler: support optional arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add TODO for a follow-up CL. Created 6 years, 1 month 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: 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 0a368779777cc0422d0e77d4f00d121b2254a4bc..9c869fa90738bb88241de3f02f20f3ffc147d97b 100644
--- a/dart/pkg/dart2js_incremental/lib/caching_compiler.dart
+++ b/dart/pkg/dart2js_incremental/lib/caching_compiler.dart
@@ -105,7 +105,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();
@@ -140,7 +142,6 @@ Future<Compiler> reuseCompiler(
..deferredConstants.clear()
..isolateProperties = null
..classesCollector = null
- ..neededClasses.clear()
..outputClassLists.clear()
..nativeClasses.clear()
..mangledFieldNames.clear()

Powered by Google App Engine
This is Rietveld 408576698