diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-18 23:34:26 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-06-18 23:34:26 +0000 |
commit | f6fc855a00b57786a7a9132095165575a5e45312 (patch) | |
tree | 8b9da0476de4b0d35aa6509ec99d8396d78143a7 /lib/VMCore/LLVMContext.cpp | |
parent | 90420105964371571ccacdf47771c6ca05db2e67 (diff) | |
download | external_llvm-f6fc855a00b57786a7a9132095165575a5e45312.tar.gz external_llvm-f6fc855a00b57786a7a9132095165575a5e45312.tar.bz2 external_llvm-f6fc855a00b57786a7a9132095165575a5e45312.zip |
revert r158660, since Chris has some issues with this patch (namely using code to reprent information only used by the compiler)
Original commit msg:
add the 'alloc' metadata node to represent the size of offset of buffers pointed to by pointers.
This metadata can be attached to any instruction returning a pointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContext.cpp')
-rw-r--r-- | lib/VMCore/LLVMContext.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/VMCore/LLVMContext.cpp b/lib/VMCore/LLVMContext.cpp index a140543a51..f07f0b3939 100644 --- a/lib/VMCore/LLVMContext.cpp +++ b/lib/VMCore/LLVMContext.cpp @@ -53,11 +53,6 @@ LLVMContext::LLVMContext() : pImpl(new LLVMContextImpl(*this)) { unsigned RangeID = getMDKindID("range"); assert(RangeID == MD_range && "range kind id drifted"); (void)RangeID; - - // Create the 'alloc' metadata kind. - unsigned AllocID = getMDKindID("alloc"); - assert(AllocID == MD_alloc && "alloc kind id drifted"); - (void)AllocID; } LLVMContext::~LLVMContext() { delete pImpl; } |