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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java

Issue 1119983004: Add an option to enable the new task model (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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.tools.core/src/com/google/dart/tools/core/DartCore.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java
index b77a1ae9fa98800c4743ebbac22d9b17eb02f2b7..d92dd5d1dd56e261ee35c7eb04e2ea7cf6e73ae4 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/DartCore.java
@@ -556,6 +556,9 @@ public class DartCore extends Plugin implements DartSdkListener {
additionalArguments,
"--enable-incremental-resolution-api");
}
+ if (DartCoreDebug.ANALYSIS_SERVER_NEW_TASK_MODEL) {
+ additionalArguments = ArrayUtils.add(additionalArguments, "--enable-new-task-model");
+ }
{
String log = DartCoreDebug.ANALYSIS_SERVER_INCREMENTAL_RESOLUTION_LOG;
if (!StringUtils.isEmpty(log)) {

Powered by Google App Engine
This is Rietveld 408576698