Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
| index 82292e04722fea4e6529a0ecfe3d320795ac7b83..cb599d8ca7844d4ebd5cfab52b5327c784fcfc5c 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart |
| @@ -168,6 +168,11 @@ class JavaScriptBackend extends Backend { |
| SsaCodeGeneratorTask generator; |
| CodeEmitterTask emitter; |
| + CodeBuffer emitCodeFor(Element element) { |
|
ahe
2013/11/27 19:28:53
This method is unfortunately named as emitting nor
sigurdm
2013/11/29 10:39:37
ok
|
| + if (generatedCode.containsKey(element)) return null; |
| + return jsAst.prettyPrint(generatedCode[element], compiler); |
| + } |
| + |
| /** |
| * The generated code as a js AST for compiled methods. |
| */ |