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

Unified Diff: sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart

Issue 12317107: ceil/floor/truncate/round return integers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload due to error3 Created 7 years, 9 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 | « sdk/lib/_internal/compiler/implementation/lib/js_number.dart ('k') | sdk/lib/core/date_time.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
diff --git a/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart b/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
index ea5677109d374b6b5de5d04a6fe6ce0d6dd87437..9f0ee082c7d337efc5eafa58119327bce2d71787 100644
--- a/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
+++ b/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart
@@ -36,7 +36,7 @@ void toolMain(List<String> arguments) {
MyOptions options = new MyOptions();
void printStats() {
- int kb = (charCount / 1024).round().toInt();
+ int kb = (charCount / 1024).round();
String stats =
'$classCount classes (${kb}Kb) in ${stopwatch.elapsedMilliseconds}ms';
if (errorCount != 0) {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/lib/js_number.dart ('k') | sdk/lib/core/date_time.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698