1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

add some missing API

llvm-svn: 33583
This commit is contained in:
Chris Lattner 2007-01-27 08:19:03 +00:00
parent 8360d61860
commit 4307892029

View File

@ -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