Chromium Code Reviews| Index: pkg/compiler/lib/src/ssa/builder.dart |
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart |
| index 31c2fddbf19cdf8c328fd5dc3de0e7dd5779d34d..4abc4cd88a20bce09b5690778b6b5dffa255d6e4 100644 |
| --- a/pkg/compiler/lib/src/ssa/builder.dart |
| +++ b/pkg/compiler/lib/src/ssa/builder.dart |
| @@ -25,6 +25,7 @@ class SsaFunctionCompiler implements FunctionCompiler { |
| JavaScriptBackend backend = builder.backend; |
| AsyncRewriterBase rewriter = null; |
| + if (element.name.startsWith("foo")) print(js.prettyPrint(result, backend.compiler).getText()); |
|
floitsch
2015/03/06 16:32:16
debug print.
sigurdm
2015/03/09 14:34:12
Done.
|
| if (element.asyncMarker == AsyncMarker.ASYNC) { |
| rewriter = new AsyncRewriter( |
| @@ -67,6 +68,7 @@ class SsaFunctionCompiler implements FunctionCompiler { |
| } |
| if (rewriter != null) { |
| result = rewriter.rewrite(result); |
| + if (element.name.startsWith("foo")) print(js.prettyPrint(result, backend.compiler).getText()); |
|
floitsch
2015/03/06 16:32:16
ditto.
sigurdm
2015/03/09 14:34:12
Done.
|
| } |
| } |
| return result; |