diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-05-29 21:46:33 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-05-29 21:46:33 +0000 |
commit | eecfa369eb91838fbd833183717b2579a0127acb (patch) | |
tree | 937e4a09cee890082748be314ad3c1aa5dca2c21 /lib/Target/CellSPU/SPUInstrInfo.cpp | |
parent | ec58498dc911065c122a2a54fa9d1338f7fb187f (diff) |
Remove more iostream header includes. Needed to implement a "FlushStream"
function to flush a specified std::ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUInstrInfo.cpp')
-rw-r--r-- | lib/Target/CellSPU/SPUInstrInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CellSPU/SPUInstrInfo.cpp b/lib/Target/CellSPU/SPUInstrInfo.cpp index bf94cdc094..3e991a9e79 100644 --- a/lib/Target/CellSPU/SPUInstrInfo.cpp +++ b/lib/Target/CellSPU/SPUInstrInfo.cpp @@ -17,7 +17,7 @@ #include "SPUTargetMachine.h" #include "SPUGenInstrInfo.inc" #include "llvm/CodeGen/MachineInstrBuilder.h" -#include <iostream> +#include "llvm/Support/Streams.h" using namespace llvm; @@ -218,7 +218,7 @@ void SPUInstrInfo::copyRegToReg(MachineBasicBlock &MBB, BuildMI(MBB, MI, get(SPU::ORv4i32), DestReg).addReg(SrcReg) .addReg(SrcReg); } else { - std::cerr << "Attempt to copy unknown/unsupported register class!\n"; + cerr << "Attempt to copy unknown/unsupported register class!\n"; abort(); } } |