[llvm] r186776 - Rename constructor parameters to follow the common member-shadowing
Chandler Carruth
chandlerc at gmail.com
Sat Jul 20 16:23:47 PDT 2013
Author: chandlerc
Date: Sat Jul 20 18:23:47 2013
New Revision: 186776
URL: http://llvm.org/viewvc/llvm-project?rev=186776&view=rev
Log:
Rename constructor parameters to follow the common member-shadowing
pattern and conform to the naming conventions.
Modified:
llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
Modified: llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp?rev=186776&r1=186775&r2=186776&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp Sat Jul 20 18:23:47 2013
@@ -223,9 +223,9 @@ struct PromoteMem2Reg {
DenseMap<const BasicBlock *, unsigned> BBNumPreds;
public:
- PromoteMem2Reg(const std::vector<AllocaInst *> &A, DominatorTree &dt,
- AliasSetTracker *ast)
- : Allocas(A), DT(dt), DIB(0), AST(ast) {}
+ PromoteMem2Reg(const std::vector<AllocaInst *> &Allocas, DominatorTree &DT,
+ AliasSetTracker *AST)
+ : Allocas(Allocas), DT(DT), DIB(0), AST(AST) {}
~PromoteMem2Reg() { delete DIB; }
void run();
More information about the llvm-commits
mailing list