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

Unified Diff: pkg/compiler/lib/src/dump_info.dart

Issue 2379573010: roll dart2js_info to 0.3.0 (Closed)
Patch Set: Created 4 years, 3 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 | « DEPS ('k') | pkg/compiler/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index 634d962c6f1c1ed5baa1d7009f3e1f9ab915f074..2a775a16522c4b3022c3ed335f969933b620ea75 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -580,8 +580,9 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
compiler.options.hasBuildId ? compiler.options.buildId : null,
compilationMoment: new DateTime.now(),
compilationDuration: compiler.measurer.wallClock.elapsed,
- toJsonDuration: stopwatch.elapsedMilliseconds,
- dumpInfoDuration: this.timing,
+ toJsonDuration:
+ new Duration(milliseconds: stopwatch.elapsedMilliseconds),
+ dumpInfoDuration: new Duration(milliseconds: this.timing),
noSuchMethodEnabled: compiler.backend.enabledNoSuchMethod,
minified: compiler.options.enableMinification);
« no previous file with comments | « DEPS ('k') | pkg/compiler/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698