commit | 678d9b7ed030dd79ed5ac749b0b21b6cb0859cd0 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Mon Apr 12 11:38:35 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Mon Apr 12 11:38:35 2010 +0000 |
tree | a73f27cdf90ceeb4725ddc63ac394fa38829cb6e | |
parent | ef817ccec44fd960d80cd6129aec1a1622cbe9f7 [diff] [blame] |
Plug trivial leak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101034 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index a29e505..db67c71 100644 --- a/lib/CodeGen/MachineLICM.cpp +++ b/lib/CodeGen/MachineLICM.cpp
@@ -391,6 +391,8 @@ 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