Skip to content

runtime: remove workaround for Windows ARM64 #39164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions stdlib/public/runtime/Metadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6123,17 +6123,6 @@ const HeapObject *swift_getKeyPathImpl(const void *pattern,
#define OVERRIDE_WITNESSTABLE COMPATIBILITY_OVERRIDE
#include COMPATIBILITY_OVERRIDE_INCLUDE_PATH

#if defined(_WIN32) && defined(_M_ARM64)
namespace std {
template <>
inline void _Atomic_storage<::PoolRange, 16>::_Unlock() const noexcept {
__dmb(0x8);
__iso_volatile_store32(&reinterpret_cast<volatile int &>(_Spinlock), 0);
__dmb(0x8);
}
}
#endif

// Autolink with libc++, for cases where libswiftCore is linked statically.
#if defined(__MACH__)
asm(".linker_option \"-lc++\"\n");
Expand Down