Plug trivial leak.

llvm-svn: 101034
This commit is contained in:
Benjamin Kramer 2010-04-12 11:38:35 +00:00
parent 27c8e79839
commit d0b5c6cbed
1 changed files with 2 additions and 0 deletions

View File

@ -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