summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Target.cpp
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
commite983082bdb281cace4655e3785bb351f82c2cf0c (patch)
tree1b91a1b304d3086fa2ff2cdb88610d9d2bba48c4 /llvm/lib/Target/Target.cpp
parent6fb0ccfa0f9d47e8ca025ef68c38da9cb0116d57 (diff)
downloadbcm5719-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/lib/Target/Target.cpp')
-rw-r--r--llvm/lib/Target/Target.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Target.cpp b/llvm/lib/Target/Target.cpp
index 0919fe42dc0..a42ce548c89 100644
--- a/llvm/lib/Target/Target.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud