Remove dead store.
[oota-llvm.git] / lib / CodeGen / MachineInstr.cpp
index e3b870927a8e9e972fa8150ff0bb5831dea35a20..f919510525f4aa1cfd434953b70a2ebc81e8d067 100644 (file)
@@ -1159,7 +1159,7 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
 
   // Briefly indicate whether any call clobbers were omitted.
   if (OmittedAnyCallClobbers) {
-    if (FirstOp) FirstOp = false; else OS << ",";
+    if (!FirstOp) OS << ",";
     OS << " ...";
   }
 
@@ -1177,7 +1177,7 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
   }
 
   if (!debugLoc.isUnknown() && MF) {
-    if (!HaveSemi) OS << ";"; HaveSemi = true;
+    if (!HaveSemi) OS << ";";
 
     // TODO: print InlinedAtLoc information