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

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

Issue 864763004: Give CodeEmitterTask a name for -v compiles (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « no previous file | pkg/compiler/lib/src/js_emitter/code_emitter_task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 6b15e9b2ff78fc8906d4b30fa772952680fec75b..0d6edac0eadb4d6f880645dc193f33c8d6f713c7 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -2123,7 +2123,7 @@ class CompilerTask {
: this.compiler = compiler,
watch = (compiler.verbose) ? new Stopwatch() : null;
- String get name => 'Unknown task';
+ String get name => "Unknown task '${this.runtimeType}'";
int get timing => (watch != null) ? watch.elapsedMilliseconds : 0;
int get timingMicroseconds => (watch != null) ? watch.elapsedMicroseconds : 0;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/code_emitter_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698