projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef817cc
)
Plug trivial leak.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 12 Apr 2010 11:38:35 +0000
(11:38 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Mon, 12 Apr 2010 11:38:35 +0000
(11:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101034
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineLICM.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineLICM.cpp
b/lib/CodeGen/MachineLICM.cpp
index a29e5059f3ddb5d225bf538d68dbdc2d47177a3e..db67c714c36e2cb93a923a63dd5fcc183057899c 100644
(file)
--- a/
lib/CodeGen/MachineLICM.cpp
+++ b/
lib/CodeGen/MachineLICM.cpp
@@
-391,6
+391,8
@@
void MachineLICM::HoistRegionPostRA(MachineDomTreeNode *N) {
if (PhysRegDefs[Candidates[i].Def] == 1)
HoistPostRA(Candidates[i].MI, Candidates[i].Def);
}
+
+ delete[] PhysRegDefs;
}
/// AddToLiveIns - Add register 'Reg' to the livein sets of BBs in the