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 | ec62f24009487c94ca3ba4195642331bcc1efd5a (patch) | |
tree | 038303fdfb8a4423cb2bcbc8c65a0ed66586e447 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | c97ccc5cb56418a617a6f5bc76c2cff70d68a53c (diff) | |
download | bcm5719-llvm-ec62f24009487c94ca3ba4195642331bcc1efd5a.tar.gz bcm5719-llvm-ec62f24009487c94ca3ba4195642331bcc1efd5a.zip |
Added naming to inserted phi copy values - for easy debugging
llvm-svn: 1325
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 383bd2a32d9..de77f6ab6cb 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/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"; } } |