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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 340023003: Various caches for incremental compilation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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
Index: dart/sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
index e0b01b2b8b04882bb2994123d4d6eb7e21118a0c..f281267de91bd8bda0ed29724d23e87a168d379d 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -601,6 +601,10 @@ abstract class Compiler implements DiagnosticListener {
final bool suppressWarnings;
+ /// If `true`, some values are cached for reuse in incremental compilation.
+ /// Incremental compilation is basically calling [run] more than once.
+ final bool hasIncrementalSupport;
+
api.CompilerOutputProvider outputProvider;
bool disableInlining = false;
@@ -841,6 +845,7 @@ abstract class Compiler implements DiagnosticListener {
this.showPackageWarnings: false,
this.useContentSecurityPolicy: false,
this.suppressWarnings: false,
+ this.hasIncrementalSupport: false,
outputProvider,
List<String> strips: const []})
: this.disableTypeInferenceFlag =

Powered by Google App Engine
This is Rietveld 408576698