[clang][bytecode] Stack-allocate bottom function frame (#125253)
commitf3549814f8a2e14b61ebe05b94cd216008633fa5
authorTimm Baeder <tbaeder@redhat.com>
Fri, 31 Jan 2025 19:08:58 +0000 (31 20:08 +0100)
committerGitHub <noreply@github.com>
Fri, 31 Jan 2025 19:08:58 +0000 (31 20:08 +0100)
tree2e4dd17e2b833c19211790610f3480c87bb21f87
parent6b8d076b1f0a00341945ed25626eaec099422982
[clang][bytecode] Stack-allocate bottom function frame (#125253)

Instead of heap-allocating it. This is similar to what the current
interpeter does. In C, we have no function calls, so the extra heap
allocation never makes sense.
clang/lib/AST/ByteCode/EvalEmitter.cpp
clang/lib/AST/ByteCode/EvalEmitter.h
clang/lib/AST/ByteCode/Interp.h
clang/lib/AST/ByteCode/InterpFrame.cpp
clang/lib/AST/ByteCode/InterpFrame.h
clang/lib/AST/ByteCode/InterpState.cpp