mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
[AVX] Unique UnsetInit
Keep only one UnsetInit around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dcd35c797d
commit
ba1ae18287
@ -443,7 +443,8 @@ RecTy *llvm::resolveTypes(RecTy *T1, RecTy *T2) {
|
||||
void Init::dump() const { return print(errs()); }
|
||||
|
||||
const UnsetInit *UnsetInit::get() {
|
||||
return new UnsetInit;
|
||||
static const UnsetInit TheInit;
|
||||
return &TheInit;
|
||||
}
|
||||
|
||||
const BitInit *BitInit::get(bool V) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user