mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Remove some dead code.
The InterferenceResult iterator turned out to be less important than we thought it would be. LiveIntervalUnion clients want higher level information, like the list of interfering virtual registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137346 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -91,25 +91,6 @@ LiveIntervalUnion::print(raw_ostream &OS, const TargetRegisterInfo *TRI) const {
|
||||
OS << '\n';
|
||||
}
|
||||
|
||||
void LiveIntervalUnion::InterferenceResult::print(raw_ostream &OS,
|
||||
const TargetRegisterInfo *TRI) const {
|
||||
OS << '[' << start() << ';' << stop() << "):"
|
||||
<< PrintReg(interference()->reg, TRI);
|
||||
}
|
||||
|
||||
void LiveIntervalUnion::Query::print(raw_ostream &OS,
|
||||
const TargetRegisterInfo *TRI) {
|
||||
OS << "Interferences with ";
|
||||
LiveUnion->print(OS, TRI);
|
||||
InterferenceResult IR = firstInterference();
|
||||
while (isInterference(IR)) {
|
||||
OS << " ";
|
||||
IR.print(OS, TRI);
|
||||
OS << '\n';
|
||||
nextInterference(IR);
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
// Verify the live intervals in this union and add them to the visited set.
|
||||
void LiveIntervalUnion::verify(LiveVirtRegBitSet& VisitedVRegs) {
|
||||
|
Reference in New Issue
Block a user