summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-07-20 23:23:47 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-07-20 23:23:47 +0000
commitaff50164ebf602c4ae63a14337adbc30fbb86280 (patch)
treecb72123820f3939da9dff2e0d4b61d08a22693f9 /lib/Transforms
parent30f23a47820cf5214c6e699ef365be71f014145d (diff)
downloadllvm-aff50164ebf602c4ae63a14337adbc30fbb86280.tar.gz
llvm-aff50164ebf602c4ae63a14337adbc30fbb86280.tar.bz2
llvm-aff50164ebf602c4ae63a14337adbc30fbb86280.tar.xz
Rename constructor parameters to follow the common member-shadowing
pattern and conform to the naming conventions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Utils/PromoteMemoryToRegister.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
index e985bf6b57..ef1b55a348 100644
--- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
+++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
@@ -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();