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

Unified Diff: src/code-stubs.cc

Issue 39014: Add a meaningful name when disassembling code. This makes it easier... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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
« no previous file with comments | « src/builtins.cc ('k') | src/codegen.cc » ('j') | src/stub-cache.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.cc
===================================================================
--- src/code-stubs.cc (revision 1406)
+++ src/code-stubs.cc (working copy)
@@ -68,10 +68,12 @@
LOG(CodeCreateEvent("Stub", *code, GetName()));
Counters::total_stubs_code_size.Increment(code->instruction_size());
+#ifdef ENABLE_DISASSEMBLER
+ if (FLAG_print_code_stubs) {
#ifdef DEBUG
- if (FLAG_print_code_stubs) {
Print();
Kasper Lund 2009/03/03 15:42:30 Do you want to both Print and Disassemble?
iposva 2009/03/03 16:21:19 Print just prints the name of the stub, but not th
- code->Print();
+#endif
+ code->Disassemble(GetName());
PrintF("\n");
}
#endif
« no previous file with comments | « src/builtins.cc ('k') | src/codegen.cc » ('j') | src/stub-cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698