summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCCodeEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 03:41:05 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 03:41:05 +0000
commit705e07f578e2b3af47ddab610feb4e7f2d3063a5 (patch)
treee2ef9be09156e5f94f26d20ffd1dde66e40276ee /lib/Target/PowerPC/PPCCodeEmitter.cpp
parent6456d3868d63a093b70ad522951f94b138389690 (diff)
downloadllvm-705e07f578e2b3af47ddab610feb4e7f2d3063a5.tar.gz
llvm-705e07f578e2b3af47ddab610feb4e7f2d3063a5.tar.bz2
llvm-705e07f578e2b3af47ddab610feb4e7f2d3063a5.tar.xz
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
Diffstat (limited to 'lib/Target/PowerPC/PPCCodeEmitter.cpp')
-rw-r--r--lib/Target/PowerPC/PPCCodeEmitter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp
index b74195778c..16535b258d 100644
--- a/lib/Target/PowerPC/PPCCodeEmitter.cpp
+++ b/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);
}