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

Unified Diff: pkg/kernel/bin/dartk.dart

Issue 2529973002: Speed up kernel sanity checks. (Closed)
Patch Set: Revert parent_pointer_test Created 4 years, 1 month 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
« no previous file with comments | « no previous file | pkg/kernel/bin/transform.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/bin/dartk.dart
diff --git a/pkg/kernel/bin/dartk.dart b/pkg/kernel/bin/dartk.dart
index e2f474202e88fd55ae8b11c710b3d2dfdb903353..1c056843d62a1c11a9f192dcdf0e5d2dbba09273 100755
--- a/pkg/kernel/bin/dartk.dart
+++ b/pkg/kernel/bin/dartk.dart
@@ -334,7 +334,9 @@ Future<CompilerOutcome> batchMain(
}
}
- sanityCheck();
+ if (canContinueCompilation) {
+ sanityCheck();
+ }
String outputDependencies = options['write-dependencies'];
if (outputDependencies != null) {
« no previous file with comments | « no previous file | pkg/kernel/bin/transform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698