From 77942d4ee47e76626d574b027e4b9c5c90e2bbf4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 Aug 2009 00:42:42 +0000 Subject: [PATCH] remove a dead class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79795 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/LiveIntervalAnalysis.h | 32 --------------------- lib/CodeGen/LiveIntervalAnalysis.cpp | 5 ---- 2 files changed, 37 deletions(-) diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index fa220419817..92048395f86 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -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 diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index bbbdee75a52..839817cf039 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -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); -} -- 2.34.1