mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Not all managedstatics need object pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d1afbd02ef
commit
d283566319
@ -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…
x
Reference in New Issue
Block a user