projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a606d95
)
Don't leak RegClass2VRegMap, which is now a new[] array instead of a
author
Dan Gohman
<gohman@apple.com>
Fri, 18 Jun 2010 18:54:05 +0000
(18:54 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 18 Jun 2010 18:54:05 +0000
(18:54 +0000)
std::vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106298
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineRegisterInfo.cpp
b/lib/CodeGen/MachineRegisterInfo.cpp
index 3982499eab6b0a477c022e2dd5863ad86f2f41d9..631c43c6b32116951d1a9c361633dd8ce5bd3c65 100644
(file)
--- a/
lib/CodeGen/MachineRegisterInfo.cpp
+++ b/
lib/CodeGen/MachineRegisterInfo.cpp
@@
-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.