8029025: PPC64 (part 203): opto: Move static _in_dump_cnt to Compile object

Also introduces the compiler oracle 'option' feature for PrintAssembly.

Reviewed-by: kvn
This commit is contained in:
Goetz Lindenmaier 2013-11-22 12:14:09 -08:00
parent 7289ee4573
commit b4ded0bc2e
7 changed files with 12 additions and 11 deletions

View file

@ -1033,8 +1033,7 @@ public:
// RegMask Print Functions
void dump_in_regmask(int idx) { in_RegMask(idx).dump(); }
void dump_out_regmask() { out_RegMask().dump(); }
static int _in_dump_cnt;
static bool in_dump() { return _in_dump_cnt > 0; }
static bool in_dump() { return Compile::current()->_in_dump_cnt > 0; }
void fast_dump() const {
tty->print("%4d: %-17s", _idx, Name());
for (uint i = 0; i < len(); i++)