diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 03:41:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 03:41:05 +0000 |
commit | a6f074fb3a205b0118aaa2ff282c771aa42e7f18 (patch) | |
tree | 947747238f3865993be53ff3282e799c3365b914 /llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp | |
parent | ed03a01af151ca21ca98d50a585564427ead453b (diff) | |
download | bcm5719-llvm-a6f074fb3a205b0118aaa2ff282c771aa42e7f18.tar.gz bcm5719-llvm-a6f074fb3a205b0118aaa2ff282c771aa42e7f18.zip |
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. ;-)
llvm-svn: 79813
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp index aacacf70474..735708c34b0 100644 --- a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp +++ b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp @@ -170,7 +170,7 @@ static unsigned getAlphaRegNumber(unsigned Reg) { } unsigned AlphaCodeEmitter::getMachineOpValue(const MachineInstr &MI, - const MachineOperand &MO) { + const MachineOperand &MO) { unsigned rv = 0; // Return value; defaults to 0 for unhandled cases // or things that get fixed up later by the JIT. @@ -180,7 +180,7 @@ unsigned AlphaCodeEmitter::getMachineOpValue(const MachineInstr &MI, } else if (MO.isImm()) { rv = MO.getImm(); } else if (MO.isGlobal() || MO.isSymbol() || MO.isCPI()) { - DOUT << MO << " is a relocated op for " << MI << "\n"; + DEBUG(errs() << MO << " is a relocated op for " << MI << "\n"); unsigned Reloc = 0; int Offset = 0; bool useGOT = false; @@ -235,7 +235,7 @@ unsigned AlphaCodeEmitter::getMachineOpValue(const MachineInstr &MI, Alpha::reloc_bsr, MO.getMBB())); } else { #ifndef NDEBUG - cerr << "ERROR: Unknown type of MachineOperand: " << MO << "\n"; + errs() << "ERROR: Unknown type of MachineOperand: " << MO << "\n"; #endif llvm_unreachable(0); } |