Index: dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart b/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
index 24ed91d46df2b2b4d14c074f2fe2c0281b514585..789859b09641ccd1b3d4bf7bf4a370c0910e89ad 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
@@ -343,13 +343,13 @@ class InternalSimpleTypesInferrer extends TypesInferrer { |
bool wasAnalyzed = analyzeCount.containsKey(element); |
if (wasAnalyzed) { |
recompiles++; |
- recomputeWatch.start(); |
+ if (compiler.verbose) recomputeWatch.start(); |
} |
bool changed = |
compiler.withCurrentElement(element, () => analyze(element)); |
if (optimismState == RETRY) return true; // Abort. |
analyzed++; |
- if (wasAnalyzed) { |
+ if (wasAnalyzed && compiler.verbose) { |
recomputeWatch.stop(); |
} |
checkAnalyzedAll(); |