8241365: Define Unique_Node_List::contains() to prevent usage by mistake
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
eb003a7382
commit
b8f8dea9c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user