[llvm-commits] [llvm] r79795 - in /llvm/trunk: include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/LiveIntervalAnalysis.cpp
Chris Lattner
sabre at nondot.org
Sat Aug 22 17:42:42 PDT 2009
Author: lattner
Date: Sat Aug 22 19:42:42 2009
New Revision: 79795
URL: http://llvm.org/viewvc/llvm-project?rev=79795&view=rev
Log:
remove a dead class.
Modified:
llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h?rev=79795&r1=79794&r2=79795&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LiveIntervalAnalysis.h Sat Aug 22 19:42:42 2009
@@ -538,38 +538,6 @@
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
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=79795&r1=79794&r2=79795&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Sat Aug 22 19:42:42 2009
@@ -2550,8 +2550,3 @@
return LR;
}
-raw_ostream &
-IntervalPrefixPrinter::operator()(raw_ostream &out,
- const MachineInstr &instr) const {
- return out << liinfo.getInstructionIndex(&instr);
-}
More information about the llvm-commits
mailing list