diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-25 18:49:28 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-25 18:49:28 +0000 |
commit | 6e699bf38dd862331532bd6f74ec491bdfad5db9 (patch) | |
tree | d775d86c6bf8e200b4b37ebf7e90d113e209cb69 /include/llvm/Analysis/MemoryBuiltins.h | |
parent | d68e8cda245269c032a692873dc8eb163fa6ef00 (diff) | |
download | external_llvm-6e699bf38dd862331532bd6f74ec491bdfad5db9.zip external_llvm-6e699bf38dd862331532bd6f74ec491bdfad5db9.tar.gz external_llvm-6e699bf38dd862331532bd6f74ec491bdfad5db9.tar.bz2 |
revert r160742: it's breaking CMake build
original commit msg:
MemoryBuiltins: add support to determine the size of strdup'ed non-constant strings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryBuiltins.h')
-rw-r--r-- | include/llvm/Analysis/MemoryBuiltins.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Analysis/MemoryBuiltins.h b/include/llvm/Analysis/MemoryBuiltins.h index 7684082..e674e74 100644 --- a/include/llvm/Analysis/MemoryBuiltins.h +++ b/include/llvm/Analysis/MemoryBuiltins.h @@ -201,7 +201,6 @@ class ObjectSizeOffsetEvaluator typedef SmallPtrSet<const Value*, 8> PtrSetTy; const TargetData *TD; - const TargetLibraryInfo *TLI; LLVMContext &Context; BuilderTy Builder; ObjectSizeOffsetVisitor Visitor; @@ -216,8 +215,7 @@ class ObjectSizeOffsetEvaluator SizeOffsetEvalType compute_(Value *V); public: - ObjectSizeOffsetEvaluator(const TargetData *TD, const TargetLibraryInfo *TLI, - LLVMContext &Context); + ObjectSizeOffsetEvaluator(const TargetData *TD, LLVMContext &Context); SizeOffsetEvalType compute(Value *V); bool knownSize(SizeOffsetEvalType SizeOffset) { |