forked from OSchip/llvm-project
Remove unneeded write in __cxa_guard_release.
The INIT_COMPLETE write now writes to the entire guard object instead of just one byte. llvm-svn: 357949
This commit is contained in:
parent
1a0c0ffa9d
commit
b32c847303
|
@ -211,7 +211,6 @@ _LIBCXXABI_FUNC_VIS void __cxa_guard_release(guard_type *raw_guard_object) {
|
|||
GlobalMutexGuard gmutex("__cxa_guard_release",
|
||||
OnRelease::UNLOCK_AND_BROADCAST);
|
||||
GuardObject guard(raw_guard_object);
|
||||
guard.store(GuardValue::ZERO());
|
||||
guard.store(GuardValue::INIT_COMPLETE());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue