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

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 1411593005: Enable the new task model everywhere (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Back out debugging changes Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library engine; 5 library engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:math' as math; 9 import 'dart:math' as math;
10 10
(...skipping 5918 matching lines...) Expand 10 before | Expand all | Expand 10 after
5929 /** 5929 /**
5930 * The partition manager being used to manage the shared partitions. 5930 * The partition manager being used to manage the shared partitions.
5931 */ 5931 */
5932 final newContext.PartitionManager partitionManager_new = 5932 final newContext.PartitionManager partitionManager_new =
5933 new newContext.PartitionManager(); 5933 new newContext.PartitionManager();
5934 5934
5935 /** 5935 /**
5936 * A flag indicating whether the (new) task model should be used to perform 5936 * A flag indicating whether the (new) task model should be used to perform
5937 * analysis. 5937 * analysis.
5938 */ 5938 */
5939 bool useTaskModel = false; 5939 bool useTaskModel = true;
5940 5940
5941 /** 5941 /**
5942 * A flag indicating whether the task model should attempt to limit 5942 * A flag indicating whether the task model should attempt to limit
5943 * invalidation after a change. 5943 * invalidation after a change.
5944 */ 5944 */
5945 bool limitInvalidationInTaskModel = false; 5945 bool limitInvalidationInTaskModel = false;
5946 5946
5947 /** 5947 /**
5948 * The plugins that are defined outside the `analyzer` package. 5948 * The plugins that are defined outside the `analyzer` package.
5949 */ 5949 */
(...skipping 6161 matching lines...) Expand 10 before | Expand all | Expand 10 after
12111 PendingFuture pendingFuture = 12111 PendingFuture pendingFuture =
12112 new PendingFuture<T>(_context, source, computeValue); 12112 new PendingFuture<T>(_context, source, computeValue);
12113 if (!pendingFuture.evaluate(sourceEntry)) { 12113 if (!pendingFuture.evaluate(sourceEntry)) {
12114 _context._pendingFutureSources 12114 _context._pendingFutureSources
12115 .putIfAbsent(source, () => <PendingFuture>[]) 12115 .putIfAbsent(source, () => <PendingFuture>[])
12116 .add(pendingFuture); 12116 .add(pendingFuture);
12117 } 12117 }
12118 return pendingFuture.future; 12118 return pendingFuture.future;
12119 } 12119 }
12120 } 12120 }
OLDNEW
« 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