diff options
-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); -} |