diff options
author | Chris Lattner <sabre@nondot.org> | 2001-08-27 15:52:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-08-27 15:52:13 +0000 |
commit | e37dbf843d497e4de6ab4577e6adc3d0ed127618 (patch) | |
tree | 693b60765240398d5bb384cd803a0a0053779905 /lib | |
parent | b5d2f1db8c664c57acfb77cb2b0c67c12f2c03e2 (diff) | |
download | external_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.cpp | 6 |
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) |