From 234d8fea7b46fbf0b7723e34cb9028bcc4ee9dfb Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Sun, 15 Feb 2015 15:45:30 +0000 Subject: [ADCE] Fix capitalization of another local variable Bring another local variable in compliance with our naming conventions, NFC. llvm-svn: 229316 --- llvm/lib/Transforms/Scalar/ADCE.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/Transforms/Scalar/ADCE.cpp b/llvm/lib/Transforms/Scalar/ADCE.cpp index ffab8d5..4a00321 100644 --- a/llvm/lib/Transforms/Scalar/ADCE.cpp +++ b/llvm/lib/Transforms/Scalar/ADCE.cpp @@ -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(OI)) if (Alive.insert(Inst).second) -- cgit v1.1