diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-12 11:38:35 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-04-12 11:38:35 +0000 |
commit | 678d9b7ed030dd79ed5ac749b0b21b6cb0859cd0 (patch) | |
tree | a73f27cdf90ceeb4725ddc63ac394fa38829cb6e /lib/CodeGen/MachineLICM.cpp | |
parent | ef817ccec44fd960d80cd6129aec1a1622cbe9f7 (diff) | |
download | llvm-678d9b7ed030dd79ed5ac749b0b21b6cb0859cd0.tar.gz llvm-678d9b7ed030dd79ed5ac749b0b21b6cb0859cd0.tar.bz2 llvm-678d9b7ed030dd79ed5ac749b0b21b6cb0859cd0.tar.xz |
Plug trivial leak.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineLICM.cpp')
-rw-r--r-- | lib/CodeGen/MachineLICM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index a29e5059f3..db67c714c3 100644 --- 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 |