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

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

Issue 845663005: dart2js: Clear tables during incremental compilation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 5 years, 11 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0d0a1457c064a4ecfc7694d2a6e36df2b6807eef..7a6aa6374a067b653ef6176787a061bec97fde1b 100644
--- a/pkg/dart2js_incremental/lib/caching_compiler.dart
+++ b/pkg/dart2js_incremental/lib/caching_compiler.dart
@@ -139,8 +139,6 @@ Future<Compiler> reuseCompiler(
..outputBuffers.clear()
..isolateProperties = null
..classesCollector = null
- ..neededClasses.clear()
- ..outputClassLists.clear()
..nativeClasses.clear()
..mangledFieldNames.clear()
..mangledGlobalFieldNames.clear()
@@ -150,7 +148,13 @@ Future<Compiler> reuseCompiler(
..elementDescriptors.clear();
backend.emitter
- ..outputContainsConstantList = false;
+ ..outputContainsConstantList = false
+ ..neededClasses.clear()
+ ..outputClassLists.clear()
+ ..outputConstantLists.clear()
+ ..outputStaticLists.clear()
+ ..outputStaticNonFinalFieldLists.clear()
+ ..outputLibraryLists.clear();
backend
..preMirrorsMethodCount = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698