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 |