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 | d0b5c6cbedde999c720c196efff22e955f7aebb6 (patch) | |
tree | abddff1fba9db8c5580e3e0f3bb628df324683a1 /llvm/lib | |
parent | 27c8e798398ad4b5947d37cd485def4e036523d7 (diff) | |
download | bcm5719-llvm-d0b5c6cbedde999c720c196efff22e955f7aebb6.tar.gz bcm5719-llvm-d0b5c6cbedde999c720c196efff22e955f7aebb6.zip |
Plug trivial leak.
llvm-svn: 101034
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/MachineLICM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp index a29e5059f3d..db67c714c36 100644 --- a/llvm/lib/CodeGen/MachineLICM.cpp +++ b/llvm/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 |