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 | 74a58575318f51da83ae9b3897d88ce2ade11527 (patch) | |
| tree | 2515110f1ef675e7370b7c3380a7f2c385eabf0b /llvm/lib | |
| parent | 21a6f5fe7f178b771b1f04947c92e43d8668767b (diff) | |
| download | bcm5719-llvm-74a58575318f51da83ae9b3897d88ce2ade11527.tar.gz bcm5719-llvm-74a58575318f51da83ae9b3897d88ce2ade11527.zip | |
Remove target specific stuff from Type classes
llvm-svn: 383
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/Type.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp index 8b3184e7c8c..90f92efedd8 100644 --- a/llvm/lib/VMCore/Type.cpp +++ b/llvm/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) |

