mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
remove various std::ostream version of printing methods from
MachineInstr and MachineOperand. This required eliminating a bunch of stuff that was using DOUT, I hope that bill doesn't mind me stealing his fun. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -52,17 +52,17 @@ void LiveVariables::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
}
|
||||
|
||||
void LiveVariables::VarInfo::dump() const {
|
||||
cerr << " Alive in blocks: ";
|
||||
errs() << " Alive in blocks: ";
|
||||
for (SparseBitVector<>::iterator I = AliveBlocks.begin(),
|
||||
E = AliveBlocks.end(); I != E; ++I)
|
||||
cerr << *I << ", ";
|
||||
cerr << "\n Killed by:";
|
||||
errs() << *I << ", ";
|
||||
errs() << "\n Killed by:";
|
||||
if (Kills.empty())
|
||||
cerr << " No instructions.\n";
|
||||
errs() << " No instructions.\n";
|
||||
else {
|
||||
for (unsigned i = 0, e = Kills.size(); i != e; ++i)
|
||||
cerr << "\n #" << i << ": " << *Kills[i];
|
||||
cerr << "\n";
|
||||
errs() << "\n #" << i << ": " << *Kills[i];
|
||||
errs() << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user