Skip to content

Commit cc8f0bb

Browse files
authored
Merge pull request swiftlang#39164 from compnerd/cleanup-arm64
runtime: remove workaround for Windows ARM64
2 parents b721488 + cd7d105 commit cc8f0bb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

stdlib/public/runtime/Metadata.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6123,17 +6123,6 @@ const HeapObject *swift_getKeyPathImpl(const void *pattern,
61236123
#define OVERRIDE_WITNESSTABLE COMPATIBILITY_OVERRIDE
61246124
#include COMPATIBILITY_OVERRIDE_INCLUDE_PATH
61256125

6126-
#if defined(_WIN32) && defined(_M_ARM64)
6127-
namespace std {
6128-
template <>
6129-
inline void _Atomic_storage<::PoolRange, 16>::_Unlock() const noexcept {
6130-
__dmb(0x8);
6131-
__iso_volatile_store32(&reinterpret_cast<volatile int &>(_Spinlock), 0);
6132-
__dmb(0x8);
6133-
}
6134-
}
6135-
#endif
6136-
61376126
// Autolink with libc++, for cases where libswiftCore is linked statically.
61386127
#if defined(__MACH__)
61396128
asm(".linker_option \"-lc++\"\n");

0 commit comments

Comments
 (0)