8282480: IGV: Use description instead of enum name for phases

Reviewed-by: redestad, thartmann
This commit is contained in:
Christian Hagedorn 2022-03-02 08:57:55 +00:00
parent fc52a2182a
commit ed3496e6c0

@ -4833,7 +4833,7 @@ void Compile::print_method(CompilerPhaseType cpt, int level, Node* n) {
#ifndef PRODUCT
ResourceMark rm;
stringStream ss;
ss.print_raw(CompilerPhaseTypeHelper::to_name(cpt));
ss.print_raw(CompilerPhaseTypeHelper::to_description(cpt));
if (n != nullptr) {
ss.print(": %d %s ", n->_idx, NodeClassNames[n->Opcode()]);
}