[ADCE] Fix formatting of pointer types
[oota-llvm.git] / lib / Transforms / Scalar / ADCE.cpp
index 4a003217f93d7be68a28b37c623a63de3d08042a..06a4dd975b14535d13505bc74cc1dd0443efa9bd 100644 (file)
@@ -69,10 +69,10 @@ bool ADCE::runOnFunction(Function& F) {
 
   // Propagate liveness backwards to operands.
   while (!Worklist.empty()) {
-    InstructionCurr = Worklist.pop_back_val();
+    Instruction *Curr = Worklist.pop_back_val();
     for (Instruction::op_iterator OI = Curr->op_begin(), OE = Curr->op_end();
          OI != OE; ++OI)
-      if (InstructionInst = dyn_cast<Instruction>(OI))
+      if (Instruction *Inst = dyn_cast<Instruction>(OI))
         if (Alive.insert(Inst).second)
           Worklist.push_back(Inst);
   }