mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
add some missing API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5b4760cbd
commit
894d264f3e
@ -67,6 +67,9 @@ public:
|
|||||||
delete[] CurArray;
|
delete[] CurArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool empty() const { return size() == 0; }
|
||||||
|
unsigned size() const { return NumElements; }
|
||||||
|
|
||||||
static void *getTombstoneMarker() { return reinterpret_cast<void*>(-2); }
|
static void *getTombstoneMarker() { return reinterpret_cast<void*>(-2); }
|
||||||
static void *getEmptyMarker() {
|
static void *getEmptyMarker() {
|
||||||
// Note that -1 is chosen to make clear() efficiently implementable with
|
// Note that -1 is chosen to make clear() efficiently implementable with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user