< prev index next >

src/share/vm/c1/c1_Compilation.hpp

Print this page

        

*** 49,58 **** --- 49,59 ---- class ciMethod; class ValueStack; class LIR_OprDesc; class C1_MacroAssembler; class CFGPrinter; + class CFGPrinterOutput; typedef LIR_OprDesc* LIR_Opr; typedef GrowableArray<BasicType> BasicTypeArray; typedef GrowableArray<BasicType> BasicTypeList; typedef GrowableArray<ExceptionInfo*> ExceptionInfoList;
*** 111,120 **** --- 112,122 ---- void set_allocator(LinearScan* allocator) { _allocator = allocator; } 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: // creation Compilation(AbstractCompiler* compiler, ciEnv* env, ciMethod* method,
*** 184,193 **** --- 186,199 ---- return previous; } #ifndef PRODUCT void maybe_print_current_instruction(); + CFGPrinterOutput* cfg_printer_output() { + guarantee(_cfg_printer_output != NULL, "CFG printer output not initialized"); + return _cfg_printer_output; + } #endif // PRODUCT // error handling void bailout(const char* msg); bool bailed_out() const { return _bailout_msg != NULL; }
< prev index next >