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 | d283566319a5bec8bfa2223580d92c86e01af13b (patch) | |
tree | 659b51ca8cd29a18454978f217bed91a720c2177 /lib/Support/ManagedStatic.cpp | |
parent | d1afbd02ef9405fb5c1575bf1d3656f434c4a956 (diff) |
Not all managedstatics need object pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/ManagedStatic.cpp')
-rw-r--r-- | lib/Support/ManagedStatic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/ManagedStatic.cpp b/lib/Support/ManagedStatic.cpp index 5c8feaf554..8de8ecd69f 100644 --- a/lib/Support/ManagedStatic.cpp +++ b/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. |