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

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

Issue 848003002: Remove CompilerCancelledException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42861 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
Index: dart/pkg/dart2js_incremental/lib/caching_compiler.dart
diff --git a/dart/pkg/dart2js_incremental/lib/caching_compiler.dart b/dart/pkg/dart2js_incremental/lib/caching_compiler.dart
index 0d0a1457c064a4ecfc7694d2a6e36df2b6807eef..136411e251765b620eb465800d42abb9639d3875 100644
--- a/dart/pkg/dart2js_incremental/lib/caching_compiler.dart
+++ b/dart/pkg/dart2js_incremental/lib/caching_compiler.dart
@@ -38,15 +38,12 @@ Future<Compiler> reuseCompiler(
compiler.libraryRoot != libraryRoot ||
!compiler.hasIncrementalSupport ||
compiler.hasCrashed ||
- compiler.compilerWasCancelled ||
compiler.enqueuer.resolution.hasEnqueuedReflectiveElements ||
compiler.deferredLoadTask.isProgramSplit) {
if (compiler != null && compiler.hasIncrementalSupport) {
print('***FLUSH***');
if (compiler.hasCrashed) {
print('Unable to reuse compiler due to crash.');
- } else if (compiler.compilerWasCancelled) {
- print('Unable to reuse compiler due to cancel.');
} else if (compiler.enqueuer.resolution.hasEnqueuedReflectiveElements) {
print('Unable to reuse compiler due to dart:mirrors.');
} else if (compiler.deferredLoadTask.isProgramSplit) {
« no previous file with comments | « dart/pkg/compiler/lib/src/use_unused_api.dart ('k') | dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698