mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Don't leak RegClass2VRegMap, which is now a new[] array instead of a
std::vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a606d955de
commit
71f095b20a
@ -37,6 +37,7 @@ MachineRegisterInfo::~MachineRegisterInfo() {
|
||||
"PhysRegUseDefLists has entries after all instructions are deleted");
|
||||
#endif
|
||||
delete [] PhysRegUseDefLists;
|
||||
delete [] RegClass2VRegMap;
|
||||
}
|
||||
|
||||
/// setRegClass - Set the register class of the specified virtual register.
|
||||
|
Loading…
Reference in New Issue
Block a user