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 | ef58218b8dd9afc0251eeb673c10d448da45d281 (patch) | |
tree | aaffaff26f37b66a2bd54ab7a033e52a7ef78597 /lib/Target/Target.cpp | |
parent | ed0e021643be9a94d0ef7de2c567a3bc51df78fa (diff) |
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 'lib/Target/Target.cpp')
-rw-r--r-- | lib/Target/Target.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/Target.cpp b/lib/Target/Target.cpp index 0919fe42dc..a42ce548c8 100644 --- a/lib/Target/Target.cpp +++ b/lib/Target/Target.cpp @@ -97,10 +97,6 @@ unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef StructT return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element); } -void LLVMInvalidateStructLayout(LLVMTargetDataRef TD, LLVMTypeRef StructTy) { - unwrap(TD)->InvalidateStructLayoutInfo(unwrap<StructType>(StructTy)); -} - void LLVMDisposeTargetData(LLVMTargetDataRef TD) { delete unwrap(TD); } |