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

Unified Diff: lib/compiler/implementation/dart_backend/backend.dart

Issue 10542027: Add logging for work items being processed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removing qualified log call Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index a7beccf9b31163e01aa369a16265ca5726af570a..9c8b5f7124991420e44a90332d144df98195b46b 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -91,6 +91,7 @@ class DartBackend extends Backend {
String codegen(WorkItem work) {
// Traverse AST to populate sets of reachable classes and functions.
+ log('codegen(${work.element})');
FunctionExpression function = work.element.parseNode(compiler);
function.body.accept(new TraversingVisitor(reachabilityVisitor));
}
@@ -99,4 +100,6 @@ class DartBackend extends Backend {
void assembleProgram() {
compiler.assembledCode = '';
}
+
+ log(String message) => compiler.log('[DartBackend] $message');
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698