8266438: Compile::remove_useless_nodes does not remove opaque nodes

Reviewed-by: vlivanov, chagedorn
This commit is contained in:
Tobias Hartmann 2021-05-04 09:42:16 +00:00
parent 141cc2f2a3
commit b65190483c

View File

@ -427,7 +427,9 @@ void Compile::remove_useless_nodes(Unique_Node_List &useful) {
}
}
remove_useless_nodes(_macro_nodes, useful); // remove useless macro and predicate opaq nodes
remove_useless_nodes(_macro_nodes, useful); // remove useless macro nodes
remove_useless_nodes(_predicate_opaqs, useful); // remove useless predicate opaque nodes
remove_useless_nodes(_skeleton_predicate_opaqs, useful);
remove_useless_nodes(_expensive_nodes, useful); // remove useless expensive nodes
remove_useless_nodes(_for_post_loop_igvn, useful); // remove useless node recorded for post loop opts IGVN pass