diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index e985bf6b57f..ef1b55a3487 100644 --- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -223,9 +223,9 @@ struct PromoteMem2Reg { DenseMap BBNumPreds; public: - PromoteMem2Reg(const std::vector &A, DominatorTree &dt, - AliasSetTracker *ast) - : Allocas(A), DT(dt), DIB(0), AST(ast) {} + PromoteMem2Reg(const std::vector &Allocas, DominatorTree &DT, + AliasSetTracker *AST) + : Allocas(Allocas), DT(DT), DIB(0), AST(AST) {} ~PromoteMem2Reg() { delete DIB; } void run();