Rename constructor parameters to follow the common member-shadowing
authorChandler Carruth <chandlerc@gmail.com>
Sat, 20 Jul 2013 23:23:47 +0000 (23:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 20 Jul 2013 23:23:47 +0000 (23:23 +0000)
pattern and conform to the naming conventions.

llvm-svn: 186776

llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

index e985bf6..ef1b55a 100644 (file)
@@ -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();