summaryrefslogtreecommitdiff
path: root/include/llvm-c/Target.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-15 05:21:59 +0000
committerChris Lattner <sabre@nondot.org>2011-07-15 05:21:59 +0000
commitef58218b8dd9afc0251eeb673c10d448da45d281 (patch)
treeaaffaff26f37b66a2bd54ab7a033e52a7ef78597 /include/llvm-c/Target.h
parented0e021643be9a94d0ef7de2c567a3bc51df78fa (diff)
downloadllvm-ef58218b8dd9afc0251eeb673c10d448da45d281.tar.gz
llvm-ef58218b8dd9afc0251eeb673c10d448da45d281.tar.bz2
llvm-ef58218b8dd9afc0251eeb673c10d448da45d281.tar.xz
remove the InvalidateStructLayoutInfo API, which is dead and unnecessary now
that type refinement is toast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Target.h')
-rw-r--r--include/llvm-c/Target.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm-c/Target.h b/include/llvm-c/Target.h
index 0c45ae51ca..d21644011a 100644
--- a/include/llvm-c/Target.h
+++ b/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);