aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/ModuleMaker/ModuleMaker.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-07-23 15:56:55 -0700
committerGitHub <noreply@github.com>2025-07-23 15:56:55 -0700
commit7b66629497ea5b6cde1772fab161c028e8c972a7 (patch)
tree4196c723b34497adcfc34206f114c567bbebb414 /llvm/examples/ModuleMaker/ModuleMaker.cpp
parent05e08cdb3e576cc0887d1507ebd2f756460c7db7 (diff)
downloadllvm-7b66629497ea5b6cde1772fab161c028e8c972a7.zip
llvm-7b66629497ea5b6cde1772fab161c028e8c972a7.tar.gz
llvm-7b66629497ea5b6cde1772fab161c028e8c972a7.tar.bz2
[IR] Remove static variables from Type::getWasm_ExternrefTy/getWasm_FuncrefTy. (#150323)
These were caching pointers to memory owned by LLVMContext and can outlive the LLVMContext. The LLVMContext already caches pointer types so we shouldn't need any caching here.
Diffstat (limited to 'llvm/examples/ModuleMaker/ModuleMaker.cpp')
0 files changed, 0 insertions, 0 deletions