[ADCE] Fix capitalization of another local variable
authorHal Finkel <hfinkel@anl.gov>
Sun, 15 Feb 2015 15:45:30 +0000 (15:45 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 15 Feb 2015 15:45:30 +0000 (15:45 +0000)
Bring another local variable in compliance with our naming conventions, NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229316 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ADCE.cpp

index ffab8d5801c892ba4ead977b1b5a7f962ea98909..4a003217f93d7be68a28b37c623a63de3d08042a 100644 (file)
@@ -69,8 +69,8 @@ bool ADCE::runOnFunction(Function& F) {
 
   // Propagate liveness backwards to operands.
   while (!Worklist.empty()) {
-    Instruction* curr = Worklist.pop_back_val();
-    for (Instruction::op_iterator OI = curr->op_begin(), OE = curr->op_end();
+    Instruction* Curr = Worklist.pop_back_val();
+    for (Instruction::op_iterator OI = Curr->op_begin(), OE = Curr->op_end();
          OI != OE; ++OI)
       if (Instruction* Inst = dyn_cast<Instruction>(OI))
         if (Alive.insert(Inst).second)