diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-20 06:18:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-20 06:18:57 +0000 |
commit | 4510c99a57e91a7e5dc5e197afc4620d8ba96fa6 (patch) | |
tree | ecbdcbd94b9c107da217e518ceb6cec319ad938b /llvm/lib/Support/ManagedStatic.cpp | |
parent | 281735098ab51030346992985ed98afc5c18346c (diff) | |
download | llvm-4510c99a57e91a7e5dc5e197afc4620d8ba96fa6.zip llvm-4510c99a57e91a7e5dc5e197afc4620d8ba96fa6.tar.gz llvm-4510c99a57e91a7e5dc5e197afc4620d8ba96fa6.tar.bz2 |
Not all managedstatics need object pointers.
llvm-svn: 34444
Diffstat (limited to 'llvm/lib/Support/ManagedStatic.cpp')
-rw-r--r-- | llvm/lib/Support/ManagedStatic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ManagedStatic.cpp b/llvm/lib/Support/ManagedStatic.cpp index 5c8feaf..8de8ecd 100644 --- a/llvm/lib/Support/ManagedStatic.cpp +++ b/llvm/lib/Support/ManagedStatic.cpp @@ -30,7 +30,7 @@ void ManagedStaticBase::RegisterManagedStatic(void *ObjPtr, } void ManagedStaticBase::destroy() const { - assert(Ptr && DeleterFn && "ManagedStatic not initialized correctly!"); + assert(DeleterFn && "ManagedStatic not initialized correctly!"); assert(StaticList == this && "Not destroyed in reverse order of construction?"); // Unlink from list. |