From ef58218b8dd9afc0251eeb673c10d448da45d281 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 15 Jul 2011 05:21:59 +0000 Subject: 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 --- lib/Target/Target.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/Target/Target.cpp') 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(StructTy)); -} - void LLVMDisposeTargetData(LLVMTargetDataRef TD) { delete unwrap(TD); } -- cgit v1.2.3