diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-18 02:37:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-18 02:37:06 +0000 |
commit | 3126f1c02895a9d18a504a5ad4af9ef2029c0dca (patch) | |
tree | 879de9676697ef2c2683b9ce6e81ff2fa16e22c4 /lib/Transforms | |
parent | 2003bcfbd243716e5599f65705b515c2a229c7d3 (diff) |
remove dead prototype.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/ScalarReplAggregates.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 68c2df1691..53436000e0 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -114,8 +114,7 @@ namespace { void DoScalarReplacement(AllocaInst *AI, std::vector<AllocaInst*> &WorkList); void DeleteDeadInstructions(); - AllocaInst *AddNewAlloca(Function &F, const Type *Ty, AllocaInst *Base); - + void RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset, SmallVector<AllocaInst*, 32> &NewElts); void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset, |