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 | f599197fc663922f34eee0dbd242932290fce127 (patch) | |
| tree | 879de9676697ef2c2683b9ce6e81ff2fa16e22c4 /lib/Transforms | |
| parent | 4e18f31e27dd8b7b725bb4acae8be8240d23bbe0 (diff) | |
| download | external_llvm-f599197fc663922f34eee0dbd242932290fce127.zip external_llvm-f599197fc663922f34eee0dbd242932290fce127.tar.gz external_llvm-f599197fc663922f34eee0dbd242932290fce127.tar.bz2 | |
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 68c2df1..5343600 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, |
