aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-11-23 03:50:44 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-11-23 03:50:44 +0000
commitce2c51b6701c06f701efa2871794b7710cb64b41 (patch)
tree298f6ed7fc58f4a04c353ae0efcb8b3b0bd2a0d7 /include/llvm/Transforms
parent2e0316fcf051154864047a0ebf2497efe7ec8346 (diff)
downloadexternal_llvm-ce2c51b6701c06f701efa2871794b7710cb64b41.zip
external_llvm-ce2c51b6701c06f701efa2871794b7710cb64b41.tar.gz
external_llvm-ce2c51b6701c06f701efa2871794b7710cb64b41.tar.bz2
Pull LLVMContext out of PromoteMemToReg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Utils/PromoteMemToReg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/PromoteMemToReg.h b/include/llvm/Transforms/Utils/PromoteMemToReg.h
index 71a077e..35cfadd 100644
--- a/include/llvm/Transforms/Utils/PromoteMemToReg.h
+++ b/include/llvm/Transforms/Utils/PromoteMemToReg.h
@@ -23,7 +23,6 @@ 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...
@@ -40,7 +39,6 @@ bool isAllocaPromotable(const AllocaInst *AI);
///
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
DominatorTree &DT, DominanceFrontier &DF,
- LLVMContext &Context,
AliasSetTracker *AST = 0);
} // End llvm namespace