diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-02-03 21:32:06 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-02-03 21:32:06 +0000 |
commit | d491da3f93a51d811b42f59f375e0b1883b06832 (patch) | |
tree | c6566fe014009ffde469869e1b0ec9e823369152 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 769422f0fce4def419c8cdb72ee967437ffd2f4f (diff) |
Delete some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 8be14ee685..9959284671 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -99,11 +99,6 @@ void LiveIntervals::releaseMemory() { // Release VNInfo memory regions, VNInfo objects don't need to be dtor'd. VNInfoAllocator.Reset(); - while (!CloneMIs.empty()) { - MachineInstr *MI = CloneMIs.back(); - CloneMIs.pop_back(); - mf_->DeleteMachineInstr(MI); - } } /// runOnMachineFunction - Register allocate the whole function |