Remove target specific stuff from Type classes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-08-27 15:52:13 +00:00
parent b5d2f1db8c
commit e37dbf843d

View File

@ -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)