Chromium Code Reviews| 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..fb02e1e100d36e40cbaf96b913e5d33585bf61b4 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. |
| + compiler.log('codegen(${work.element})'); |
|
Roman
2012/06/06 15:01:25
Did you want to use your new method "log" here?
Sh
Anton Muhin
2012/06/06 15:03:42
Of course I do, thanks a lot for spotting.
It loo
Roman
2012/06/06 15:05:30
Well, that is not good. Comments are also not popu
|
| 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'); |
| } |