diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-20 22:33:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-20 22:33:47 +0000 |
commit | a5f5a9c8e27c4fc32ccca1bb2dad0fcd295a64b7 (patch) | |
tree | 14fd4a0cf5fd4c9f77829d1c127152bb407eb642 /include | |
parent | 19b6dcdfa9832fbdcf69ec6db4c12d256bd709e7 (diff) | |
download | external_llvm-a5f5a9c8e27c4fc32ccca1bb2dad0fcd295a64b7.zip external_llvm-a5f5a9c8e27c4fc32ccca1bb2dad0fcd295a64b7.tar.gz external_llvm-a5f5a9c8e27c4fc32ccca1bb2dad0fcd295a64b7.tar.bz2 |
Fix a problem where primitive types lose their name after llvm_shutdown is called.
This also reduces the amount of work done at static construction time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Type.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h index a763c65..f6d993d 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -107,7 +107,6 @@ private: void destroy() const; // const is a lie, this does "delete this"! protected: - Type(const char *Name, TypeID id); explicit Type(TypeID id) : ID(id), Abstract(false), SubclassData(0), RefCount(0), ForwardType(0), NumContainedTys(0), ContainedTys(0) {} |