diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 00:42:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 00:42:42 +0000 |
commit | 77942d4ee47e76626d574b027e4b9c5c90e2bbf4 (patch) | |
tree | 3e5f40c55068afb2baca1eb12b9c6b29f0c43c8c | |
parent | 6371ed5e2b29434796333e487e6d14cf16306b4c (diff) |
remove a dead class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79795 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 32 | ||||
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 5 |
2 files changed, 0 insertions, 37 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index fa22041981..92048395f8 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 bbbdee75a5..839817cf03 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); -} |