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

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

Issue 11052011: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 2 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
Index: lib/compiler/implementation/js_backend/backend.dart
diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
index 3a7d351756a51810a42033e6713b67a44cd80d86..120440ed1aa28adfe68ad16db3742819c877ba22 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -925,4 +925,19 @@ class JavaScriptBackend extends Backend {
}
}
}
+
+ void dumpInferredTypes() {
+ print("Inferred argument types:");
+ print("------------------------");
+ argumentTypes.dump();
+ print("");
+ print("Inferred return types:");
+ print("----------------------");
+ dumpReturnTypes();
+ print("");
+ print("Inferred field types:");
+ print("------------------------");
+ fieldTypes.dump();
+ print("");
+ }
}
« no previous file with comments | « lib/compiler/implementation/elements/elements.dart ('k') | lib/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698