--- old/src/share/vm/c1/c1_Compilation.hpp 2017-06-06 14:36:41.151193845 +0200 +++ new/src/share/vm/c1/c1_Compilation.hpp 2017-06-06 14:36:41.051193840 +0200 @@ -51,6 +51,7 @@ class LIR_OprDesc; class C1_MacroAssembler; class CFGPrinter; +class CFGPrinterOutput; typedef LIR_OprDesc* LIR_Opr; typedef GrowableArray BasicTypeArray; @@ -113,6 +114,7 @@ Instruction* _current_instruction; // the instruction currently being processed #ifndef PRODUCT Instruction* _last_instruction_printed; // the last instruction printed during traversal + CFGPrinterOutput* _cfg_printer_output; #endif // PRODUCT public: @@ -186,6 +188,10 @@ #ifndef PRODUCT void maybe_print_current_instruction(); + CFGPrinterOutput* cfg_printer_output() { + assert(_cfg_printer_output != NULL, "CFG printer output not initialized"); + return _cfg_printer_output; + } #endif // PRODUCT // error handling