Files
llvm/clang/lib/AST/ByteCode/InterpStack.cpp
Timm Baeder 29620d9b89 [clang][bytecode] Optimize InterpStack (#159400)
Replace `StackChunk::End` with `StackChunk::Size`, mark the allocating
code paths as unlikely and move `grow()` into the header, which allows
us to template this for the `Size` parameter. Since we only push our
primitive types on the stack and all the sizes are aligned to pointer
size multiples, this only results in a few instantiations.
2025-09-18 15:26:02 +02:00

2.9 KiB