aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-08-27 15:52:13 +0000
committerChris Lattner <sabre@nondot.org>2001-08-27 15:52:13 +0000
commite37dbf843d497e4de6ab4577e6adc3d0ed127618 (patch)
tree693b60765240398d5bb384cd803a0a0053779905 /lib
parentb5d2f1db8c664c57acfb77cb2b0c67c12f2c03e2 (diff)
downloadexternal_llvm-e37dbf843d497e4de6ab4577e6adc3d0ed127618.zip
external_llvm-e37dbf843d497e4de6ab4577e6adc3d0ed127618.tar.gz
external_llvm-e37dbf843d497e4de6ab4577e6adc3d0ed127618.tar.bz2
Remove target specific stuff from Type classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@383 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Type.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index 8b3184e..90f92ef 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -155,11 +155,7 @@ ArrayType::ArrayType(const Type *ElType, int NumEl, const string &Name)
}
StructType::StructType(const vector<const Type*> &Types, const string &Name)
- : Type(Name, StructTyID),
- ETypes(Types),
- layoutCache(new StructSizeAndOffsetInfo)
-{
- ResetCachedInfo();
+ : Type(Name, StructTyID), ETypes(Types) {
}
PointerType::PointerType(const Type *E)