comparison src/share/vm/opto/node.hpp @ 14438:4cdf4f71177d

8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object. Summary: Also introduces the compiler oracle 'option' feature for PrintAssembly. Reviewed-by: kvn
author goetz
date Fri, 22 Nov 2013 12:14:09 -0800
parents 044b28168e20
children cd5d10655495 62c54fcc0a35
comparison
equal deleted inserted replaced
14437:15120a36272d 14438:4cdf4f71177d
1031 1031
1032 void dump_format(PhaseRegAlloc *ra) const; // debug access to MachNode::format(...) 1032 void dump_format(PhaseRegAlloc *ra) const; // debug access to MachNode::format(...)
1033 // RegMask Print Functions 1033 // RegMask Print Functions
1034 void dump_in_regmask(int idx) { in_RegMask(idx).dump(); } 1034 void dump_in_regmask(int idx) { in_RegMask(idx).dump(); }
1035 void dump_out_regmask() { out_RegMask().dump(); } 1035 void dump_out_regmask() { out_RegMask().dump(); }
1036 static int _in_dump_cnt; 1036 static bool in_dump() { return Compile::current()->_in_dump_cnt > 0; }
1037 static bool in_dump() { return _in_dump_cnt > 0; }
1038 void fast_dump() const { 1037 void fast_dump() const {
1039 tty->print("%4d: %-17s", _idx, Name()); 1038 tty->print("%4d: %-17s", _idx, Name());
1040 for (uint i = 0; i < len(); i++) 1039 for (uint i = 0; i < len(); i++)
1041 if (in(i)) 1040 if (in(i))
1042 tty->print(" %4d", in(i)->_idx); 1041 tty->print(" %4d", in(i)->_idx);