Delete some dead code.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 3 Feb 2012 21:32:06 +0000 (21:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 3 Feb 2012 21:32:06 +0000 (21:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149717 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp

index 92a8f5619ecd41fdb42a0f152b256433ef66f00e..19da2adf06a5fd7d621707e14903d2d47f352372 100644 (file)
@@ -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) {
index 8be14ee6853b523445cf6bdda0ce9df423e9b13c..9959284671f944ba4ea62473f24d3c7a923af783 100644 (file)
@@ -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