Skip to content

Commit 01731cf

Browse files
authored
Merge pull request #39178 from compnerd/shim-arm64
Shims: remove last remnant of Windows ARM64 workaround
2 parents 2ae2fee + b175cc8 commit 01731cf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

stdlib/public/SwiftShims/RefCount.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,19 +1610,6 @@ static_assert(sizeof(InlineRefCounts) == sizeof(__swift_uintptr_t),
16101610
static_assert(__alignof(InlineRefCounts) == __alignof(__swift_uintptr_t),
16111611
"InlineRefCounts must be pointer-aligned");
16121612

1613-
#if defined(_WIN32) && defined(_M_ARM64)
1614-
#if defined(__cplusplus)
1615-
namespace std {
1616-
template <>
1617-
inline void _Atomic_storage<swift::SideTableRefCountBits, 16>::_Unlock() const noexcept {
1618-
__dmb(0x8);
1619-
__iso_volatile_store32(&reinterpret_cast<volatile int &>(_Spinlock), 0);
1620-
__dmb(0x8);
1621-
}
1622-
}
1623-
#endif
1624-
#endif
1625-
16261613
#endif // !defined(__swift__)
16271614

16281615
#endif

0 commit comments

Comments
 (0)