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 | 6aabb661398e181623e03495922c706e1685afe5 (patch) | |
| tree | 188b8111827954898f3f14e76d38bccbbde8e952 /llvm/lib/Transforms | |
| parent | fb7eaff7591d86800c76a9dab9e768df1ead3eea (diff) | |
| download | bcm5719-llvm-6aabb661398e181623e03495922c706e1685afe5.tar.gz bcm5719-llvm-6aabb661398e181623e03495922c706e1685afe5.zip | |
remove dead prototype.
llvm-svn: 111342
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 68c2df1691e..53436000e03 100644 --- a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/llvm/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, |

