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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java

Issue 262253002: Add flag to AnalysisOptions to be able to disable deferred loading. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase with bleeding_edge, updated status files not to break build Created 6 years, 7 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
index fbd4d2236b7b677c8c7e5634c53d773c367c16a0..77eed7f28dcf34d83055b3a67250b905b2755de9 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
@@ -1967,6 +1967,7 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
synchronized (cacheLock) {
boolean needsRecompute = this.options.getAnalyzeFunctionBodies() != options.getAnalyzeFunctionBodies()
|| this.options.getGenerateSdkErrors() != options.getGenerateSdkErrors()
+ || this.options.getEnableDeferredLoading() != options.getEnableDeferredLoading()
|| this.options.getDart2jsHint() != options.getDart2jsHint()
|| (this.options.getHint() && !options.getHint())
|| this.options.getPreserveComments() != options.getPreserveComments();
@@ -1990,6 +1991,7 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
}
this.options.setAnalyzeFunctionBodies(options.getAnalyzeFunctionBodies());
this.options.setGenerateSdkErrors(options.getGenerateSdkErrors());
+ this.options.setEnableDeferredLoading(options.getEnableDeferredLoading());
this.options.setDart2jsHint(options.getDart2jsHint());
this.options.setHint(options.getHint());
this.options.setIncremental(options.getIncremental());

Powered by Google App Engine
This is Rietveld 408576698