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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 90713003: Dart2js option to dump info about compilation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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
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.
*/

Powered by Google App Engine
This is Rietveld 408576698