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:
Eric Fiselier 2019-04-08 22:07:36 +00:00
parent 1a0c0ffa9d
commit b32c847303
1 changed files with 0 additions and 1 deletions

View File

@ -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());
}