Searched refs:StackChunk (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DInterpStack.h88 struct StackChunk { struct in class:clang::interp::final
89 StackChunk *Next;
90 StackChunk *Prev;
93 StackChunk(StackChunk *Prev = nullptr) function in struct:clang::interp::final::StackChunk
102 static_assert(sizeof(StackChunk) < ChunkSize, "Invalid chunk size");
105 StackChunk *Chunk = nullptr;
H A DInterpStack.cpp30 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large");
32 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) {
36 StackChunk *Next = new (malloc(ChunkSize)) StackChunk(Chunk);
52 StackChunk *Ptr = Chunk;

Completed in 124 milliseconds