[clang] [clang][bytecode] Stack-allocate bottom function frame (PR #125253)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 31 22:45:44 PST 2025


================
@@ -27,7 +27,7 @@ bool InterpState::inConstantContext() const {
 }
 
 InterpState::~InterpState() {
-  while (Current) {
+  while (Current && !Current->isBottomFrame()) {
----------------
vitalybuka wrote:

Some reordering is needed for "InterpState S;" and "InterpFrame BottomFrame;".

https://github.com/llvm/llvm-project/pull/125253


More information about the cfe-commits mailing list