Added naming to inserted phi copy values - for easy debugging
[oota-llvm.git] / lib / CodeGen / MachineInstr.cpp
index 383bd2a32d9ce7175f5a12c48ab576fcca55264e..de77f6ab6cb938cfb629593f8cd23206514848b5 100644 (file)
@@ -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";
     }
   }