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/PowerPC | |
| 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/PowerPC')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp index b74195778ca..16535b258d9 100644 --- a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp +++ b/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp @@ -58,8 +58,7 @@ namespace { template <class CodeEmitter> class VISIBILITY_HIDDEN Emitter : public MachineFunctionPass, - public PPCCodeEmitter - { + public PPCCodeEmitter { TargetMachine &TM; CodeEmitter &MCE; @@ -267,7 +266,7 @@ unsigned PPCCodeEmitter::getMachineOpValue(const MachineInstr &MI, Reloc, 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); } |

