From 0a205a459884ec745df1c529396dd921f029dafd Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Sun, 5 Jul 2009 22:41:43 +0000 Subject: More LLVMContext-ification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74807 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/PromoteMemToReg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/llvm/Transforms/Utils/PromoteMemToReg.h') diff --git a/include/llvm/Transforms/Utils/PromoteMemToReg.h b/include/llvm/Transforms/Utils/PromoteMemToReg.h index 35cfadd..3d05800 100644 --- a/include/llvm/Transforms/Utils/PromoteMemToReg.h +++ b/include/llvm/Transforms/Utils/PromoteMemToReg.h @@ -23,6 +23,7 @@ class AllocaInst; class DominatorTree; class DominanceFrontier; class AliasSetTracker; +class LLVMContext; /// isAllocaPromotable - Return true if this alloca is legal for promotion. /// This is true if there are only loads and stores to the alloca... @@ -39,6 +40,7 @@ bool isAllocaPromotable(const AllocaInst *AI); /// void PromoteMemToReg(const std::vector &Allocas, DominatorTree &DT, DominanceFrontier &DF, + LLVMContext* Context, AliasSetTracker *AST = 0); } // End llvm namespace -- cgit v1.1