1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Remove target specific stuff from Type classes

llvm-svn: 383
This commit is contained in:
Chris Lattner 2001-08-27 15:52:13 +00:00
parent 3b527dd79e
commit eaebbaf5bc

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)