Not all managedstatics need object pointers.

llvm-svn: 34444
This commit is contained in:
Chris Lattner 2007-02-20 06:18:57 +00:00
parent 281735098a
commit 4510c99a57
1 changed files with 1 additions and 1 deletions

View File

@ -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.