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 | |
parent | 769422f0fce4def419c8cdb72ee967437ffd2f4f (diff) |
Delete some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149717 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 3 | ||||
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 92a8f5619e..19da2adf06 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -63,9 +63,6 @@ namespace llvm { /// allocatableRegs_ - A bit vector of allocatable registers. BitVector allocatableRegs_; - /// CloneMIs - A list of clones as result of re-materialization. - std::vector<MachineInstr*> CloneMIs; - public: static char ID; // Pass identification, replacement for typeid LiveIntervals() : MachineFunctionPass(ID) { 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 |