diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-15 05:21:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-15 05:21:59 +0000 |
commit | e983082bdb281cace4655e3785bb351f82c2cf0c (patch) | |
tree | 1b91a1b304d3086fa2ff2cdb88610d9d2bba48c4 /llvm/include/llvm-c/Target.h | |
parent | 6fb0ccfa0f9d47e8ca025ef68c38da9cb0116d57 (diff) | |
download | bcm5719-llvm-e983082bdb281cace4655e3785bb351f82c2cf0c.tar.gz bcm5719-llvm-e983082bdb281cace4655e3785bb351f82c2cf0c.zip |
remove the InvalidateStructLayoutInfo API, which is dead and unnecessary now
that type refinement is toast.
llvm-svn: 135245
Diffstat (limited to 'llvm/include/llvm-c/Target.h')
-rw-r--r-- | llvm/include/llvm-c/Target.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm-c/Target.h b/llvm/include/llvm-c/Target.h index 0c45ae51caa..d21644011ad 100644 --- a/llvm/include/llvm-c/Target.h +++ b/llvm/include/llvm-c/Target.h @@ -147,12 +147,6 @@ unsigned LLVMElementAtOffset(LLVMTargetDataRef, LLVMTypeRef StructTy, unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef, LLVMTypeRef StructTy, unsigned Element); -/** Struct layouts are speculatively cached. If a TargetDataRef is alive when - types are being refined and removed, this method must be called whenever a - struct type is removed to avoid a dangling pointer in this cache. - See the method llvm::TargetData::InvalidateStructLayoutInfo. */ -void LLVMInvalidateStructLayout(LLVMTargetDataRef, LLVMTypeRef StructTy); - /** Deallocates a TargetData. See the destructor llvm::TargetData::~TargetData. */ void LLVMDisposeTargetData(LLVMTargetDataRef); |