mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
add some missing API
llvm-svn: 33583
This commit is contained in:
parent
8360d61860
commit
4307892029
@ -67,6 +67,9 @@ public:
|
||||
delete[] CurArray;
|
||||
}
|
||||
|
||||
bool empty() const { return size() == 0; }
|
||||
unsigned size() const { return NumElements; }
|
||||
|
||||
static void *getTombstoneMarker() { return reinterpret_cast<void*>(-2); }
|
||||
static void *getEmptyMarker() {
|
||||
// Note that -1 is chosen to make clear() efficiently implementable with
|
||||
|
Loading…
Reference in New Issue
Block a user