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

Unified Diff: pkg/compiler/tool/track_memory.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 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
« no previous file with comments | « pkg/compiler/tool/dart2js_profile_many.dart ('k') | pkg/testing/lib/src/analyze.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/tool/track_memory.dart
diff --git a/pkg/compiler/tool/track_memory.dart b/pkg/compiler/tool/track_memory.dart
index 46891a46df291352c918c11dc3471648024bea82..0ba0e7c382d2b648a2b9bd6690f98f7b6fbfe23a 100644
--- a/pkg/compiler/tool/track_memory.dart
+++ b/pkg/compiler/tool/track_memory.dart
@@ -151,8 +151,8 @@ _showProgress(newUsed, newCapacity, oldUsed, oldCapacity) {
color: true);
sb.write(' | ');
- var maxUsed = max(lastMaxUsed, newUsed + oldUsed);
- var maxCapacity = max(lastMaxCapacity, newCapacity + oldCapacity);
+ int maxUsed = max(lastMaxUsed, newUsed + oldUsed);
+ int maxCapacity = max(lastMaxCapacity, newCapacity + oldCapacity);
_writeNumber(sb, lastMaxUsed, maxUsed);
_writeNumber(sb, lastMaxCapacity, maxCapacity, color: true);
stdout.write('$sb');
« no previous file with comments | « pkg/compiler/tool/dart2js_profile_many.dart ('k') | pkg/testing/lib/src/analyze.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698