8241365: Define Unique_Node_List::contains() to prevent usage by mistake

Reviewed-by: kvn, thartmann
This commit is contained in:
Roland Westrelin 2020-03-20 13:58:05 +01:00
parent eb003a7382
commit b8f8dea9c2

View File

@ -1558,6 +1558,11 @@ public:
// Used after parsing to remove useless nodes before Iterative GVN
void remove_useless_nodes(VectorSet& useful);
bool contains(const Node* n) const {
fatal("use faster member() instead");
return false;
}
#ifndef PRODUCT
void print_set() const { _in_worklist.print(); }
#endif