forked from OSchip/llvm-project
Not all managedstatics need object pointers.
llvm-svn: 34444
This commit is contained in:
parent
281735098a
commit
4510c99a57
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue