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

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: Merged with r42234. Created 6 years 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 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()
« no previous file with comments | « dart/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart ('k') | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698