Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpStack.h125 struct StackChunk { struct
126 StackChunk *Next; argument
127 StackChunk *Prev; argument
130 StackChunk(StackChunk *Prev = nullptr) argument
142 static_assert(sizeof(StackChunk) < ChunkSize, "Invalid chunk size"); argument
145 StackChunk *Chunk = nullptr;
H A DInterpStack.cpp38 assert(Size < ChunkSize - sizeof(StackChunk) && "Object too large"); in grow()
40 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow()
44 StackChunk *Next = new (std::malloc(ChunkSize)) StackChunk(Chunk); in grow()
60 StackChunk *Ptr = Chunk; in peekData()