aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetData.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target/TargetData.h')
-rw-r--r--include/llvm/Target/TargetData.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h
index cf6b5e7..3136a38 100644
--- a/include/llvm/Target/TargetData.h
+++ b/include/llvm/Target/TargetData.h
@@ -190,14 +190,6 @@ public:
return 8*getABITypeSize(Ty);
}
- /// getTypeSize - Obsolete method, do not use. Replaced by getTypeStoreSize
- /// and getABITypeSize. For alias analysis of loads and stores you probably
- /// want getTypeStoreSize. Use getABITypeSize for GEP computations and alloca
- /// sizing.
- uint64_t getTypeSize(const Type *Ty) const {
- return getTypeStoreSize(Ty);
- }
-
/// getABITypeAlignment - Return the minimum ABI-required alignment for the
/// specified type.
unsigned char getABITypeAlignment(const Type *Ty) const;