remove a dead class.
authorChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 00:42:42 +0000 (00:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 23 Aug 2009 00:42:42 +0000 (00:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79795 91177308-0d34-0410-b5e6-96231b3b80d8

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

index fa220419817f5f1ce3330d1a85ba472bf2d655ee..92048395f8611251f52fb94c8af350e23803b3f7 100644 (file)
@@ -538,38 +538,6 @@ namespace llvm {
 
     void printRegName(unsigned reg) const;
   };
-
-  /// IntervalPrefixPrinter - Print live interval indices before each
-  /// instruction.
-  class IntervalPrefixPrinter : public PrefixPrinter {
-  private:
-    const LiveIntervals &liinfo;
-
-  public:
-    IntervalPrefixPrinter(const LiveIntervals &lii)
-        : liinfo(lii) {};
-
-    // We need null implementations of the other virtual functions to
-    // avoid warnings about hidden virtual functions.
-
-    raw_ostream &operator()(raw_ostream &out,
-                            const MachineBasicBlock &instr) const {
-      return out;
-    }
-    
-    raw_ostream &operator()(raw_ostream &out,
-                            const MachineInstr &instr) const;
-
-    std::ostream &operator()(std::ostream &out,
-                             const MachineBasicBlock &instr) const {
-      return out;
-    }
-    
-    std::ostream &operator()(std::ostream &out,
-                             const MachineInstr &instr) const {
-      return out;
-    }
-  };
 } // End llvm namespace
 
 #endif
index bbbdee75a5274cc1a7f75327f8fbdff0ce42799f..839817cf039a9d2139de4de19a1c7ef1f37f50e2 100644 (file)
@@ -2550,8 +2550,3 @@ LiveRange LiveIntervals::addLiveRangeToEndOfBlock(unsigned reg,
   return LR;
 }
 
-raw_ostream &
-IntervalPrefixPrinter::operator()(raw_ostream &out,
-                                  const MachineInstr &instr) const {
-      return out << liinfo.getInstructionIndex(&instr);
-}