[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 16 11:24:27 PDT 2025
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/144246 at github.com>
================
@@ -4674,10 +4677,7 @@ VarCreationState Compiler<Emitter>::visitVarDecl(const VarDecl *VD,
if (!visitInitializer(Init))
return false;
- if (!this->emitFinishInit(Init))
- return false;
-
- return this->emitPopPtr(Init);
+ return this->emitFinishInitGlobal(Init);
----------------
AaronBallman wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/144246
More information about the cfe-commits
mailing list