mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-16 00:33:10 +00:00
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:
parent
6371ed5e2b
commit
77942d4ee4
@ -538,38 +538,6 @@ namespace llvm {
|
|||||||
|
|
||||||
void printRegName(unsigned reg) const;
|
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
|
} // End llvm namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -2550,8 +2550,3 @@ LiveRange LiveIntervals::addLiveRangeToEndOfBlock(unsigned reg,
|
|||||||
return LR;
|
return LR;
|
||||||
}
|
}
|
||||||
|
|
||||||
raw_ostream &
|
|
||||||
IntervalPrefixPrinter::operator()(raw_ostream &out,
|
|
||||||
const MachineInstr &instr) const {
|
|
||||||
return out << liinfo.getInstructionIndex(&instr);
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user