diff options
| author | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:28:15 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:28:15 +0000 |
| commit | 355fc5ad5008d57653e68dc248ac527e722c9b1e (patch) | |
| tree | d2d4e1aedde1e1b04104716c4bab102641ee331a /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
| parent | 22e978a736cb34291c15de07e5b31d395d08dee5 (diff) | |
| download | bcm5719-llvm-355fc5ad5008d57653e68dc248ac527e722c9b1e.tar.gz bcm5719-llvm-355fc5ad5008d57653e68dc248ac527e722c9b1e.zip | |
Removed more <iostream> includes
llvm-svn: 32321
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 932542dd21d..be19e46168e 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -41,7 +41,6 @@ #include "llvm/Support/Compiler.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" -#include <iostream> using namespace llvm; namespace { @@ -102,7 +101,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) { if (FirstTied) { ++NumTwoAddressInstrs; - DOUT << '\t'; DEBUG(mi->print(std::cerr, &TM)); + DOUT << '\t'; DEBUG(mi->print(*cerr.stream(), &TM)); } FirstTied = false; @@ -195,7 +194,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) { MRI.copyRegToReg(*mbbi, mi, regA, regB, rc); MachineBasicBlock::iterator prevMi = prior(mi); - DOUT << "\t\tprepend:\t"; DEBUG(prevMi->print(std::cerr, &TM)); + DOUT << "\t\tprepend:\t"; DEBUG(prevMi->print(*cerr.stream(), &TM)); // Update live variables for regA LiveVariables::VarInfo& varInfo = LV.getVarInfo(regA); @@ -220,7 +219,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) { mi->getOperand(ti).setReg(mi->getOperand(si).getReg()); MadeChange = true; - DOUT << "\t\trewrite to:\t"; DEBUG(mi->print(std::cerr, &TM)); + DOUT << "\t\trewrite to:\t"; DEBUG(mi->print(*cerr.stream(), &TM)); } } } |

