8156131: C2: MachProj dumps data on tty w/ -XX:+WizardMode

Made to dump on output stream on wizard mode.

Reviewed-by: vlivanov
This commit is contained in:
Jamsheed Mohammed C M 2016-05-06 06:08:15 -07:00
parent 88cbbd634e
commit 08dac03ddc

View File

@ -600,8 +600,8 @@ const TypePtr *MachProjNode::adr_type() const {
void MachProjNode::dump_spec(outputStream *st) const {
ProjNode::dump_spec(st);
switch (_ideal_reg) {
case unmatched_proj: st->print("/unmatched"); break;
case fat_proj: st->print("/fat"); if (WizardMode) _rout.dump(); break;
case unmatched_proj: st->print("/unmatched"); break;
case fat_proj: st->print("/fat"); if (WizardMode) _rout.dump(st); break;
}
}
#endif