diff options
author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-11-15 20:46:40 +0000 |
---|---|---|
committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-11-15 20:46:40 +0000 |
commit | 07c7086bd29b5c7223945cbdeae48494874de38f (patch) | |
tree | b0082a6fa6a23af6eeae63f4627817ea1b568f3d /lib/CodeGen/MachineInstr.cpp | |
parent | 295264dcb47df36832c16b06f9346695f801f75f (diff) |
Added naming to inserted phi copy values - for easy debugging
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | lib/CodeGen/MachineInstr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 383bd2a32d..de77f6ab6c 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -95,8 +95,8 @@ operator<< (ostream& os, const MachineInstr& minstr) for (unsigned i=0, N=minstr.getNumOperands(); i < N; i++) { os << "\t" << minstr.getOperand(i); - if( minstr.getOperand(i).opIsDef() ) os << "*"; - + if( minstr.getOperand(i).opIsDef() ) + os << "*"; } #undef DEBUG_VAL_OP_ITERATOR @@ -122,7 +122,7 @@ operator<< (ostream& os, const MachineInstr& minstr) for(unsigned z=0; z < NumOfImpRefs; z++) { os << minstr.getImplicitRef(z); if( minstr.implicitRefIsDefined(z)) os << "*"; - cout << "\t"; + os << "\t"; } } |