remove a dead class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79795 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-08-23 00:42:42 +00:00
parent 6371ed5e2b
commit 77942d4ee4
2 changed files with 0 additions and 37 deletions

View 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

View 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);
}