From: Chris Lattner Date: Wed, 18 Aug 2010 02:37:06 +0000 (+0000) Subject: remove dead prototype. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3126f1c02895a9d18a504a5ad4af9ef2029c0dca;p=oota-llvm.git remove dead prototype. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111342 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 68c2df1691e..53436000e03 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -114,8 +114,7 @@ namespace { void DoScalarReplacement(AllocaInst *AI, std::vector &WorkList); void DeleteDeadInstructions(); - AllocaInst *AddNewAlloca(Function &F, const Type *Ty, AllocaInst *Base); - + void RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset, SmallVector &NewElts); void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset,