< prev index next >
src/hotspot/share/opto/compile.hpp
Print this page
rev 54763 : 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by:
@@ -1346,11 +1346,17 @@
// End-of-run dumps.
static void print_statistics() PRODUCT_RETURN;
// Dump formatted assembly
- void dump_asm(int *pcs = NULL, uint pc_limit = 0) PRODUCT_RETURN;
+#if defined(SUPPORT_OPTO_ASSEMBLY)
+ void dump_asm_on(outputStream* ost, int* pcs, uint pc_limit);
+ void dump_asm(int* pcs = NULL, uint pc_limit = 0) { dump_asm_on(tty, pcs, pc_limit); }
+#else
+ void dump_asm_on(outputStream* ost, int* pcs, uint pc_limit) { return; }
+ void dump_asm(int* pcs = NULL, uint pc_limit = 0) { return; }
+#endif
void dump_pc(int *pcs, int pc_limit, Node *n);
// Verify ADLC assumptions during startup
static void adlc_verification() PRODUCT_RETURN;
< prev index next >