mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 13:41:47 +00:00
Added member function "size()" to FoldingSet to return the number of
nodes in the FoldingSet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e45bb9ad5e
commit
20b7907c1c
@ -202,7 +202,10 @@ public:
|
||||
/// it is not already in the folding set. InsertPos must be obtained from
|
||||
/// FindNodeOrInsertPos.
|
||||
void InsertNode(Node *N, void *InsertPos);
|
||||
|
||||
|
||||
/// size - Returns the number of nodes in the folding set.
|
||||
unsigned size() const { return NumNodes; }
|
||||
|
||||
private:
|
||||
|
||||
/// GrowHashTable - Double the size of the hash table and rehash everything.
|
||||
|
Loading…
Reference in New Issue
Block a user