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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart

Issue 14646031: Implement invoke, setField, and getField (unminified). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments. Created 7 years, 7 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/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();
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | dart/tests/compiler/dart2js_extra/mirror_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698