Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
ARM64: Use RhpMemoryBarrier from portable.cpp for ARM64 (#8329)
Browse files Browse the repository at this point in the history
portable.cpp contains an implementation that just forwards to PalMemoryBarrier. It was disabeled for ARM64 only. As the forward works fine for ARM64 there is no reason to not use the same code, too
  • Loading branch information
RalfKornmannEnvision authored Sep 14, 2020
1 parent 1e10a6f commit a892bba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Native/Runtime/portable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,12 +490,10 @@ COOP_PINVOKE_HELPER(Int64, RhpLockCmpXchg64, (Int64 * location, Int64 value, Int

#endif // USE_PORTABLE_HELPERS

#if !defined(HOST_ARM64)
COOP_PINVOKE_HELPER(void, RhpMemoryBarrier, ())
{
PalMemoryBarrier();
}
#endif

#if defined(USE_PORTABLE_HELPERS)
EXTERN_C REDHAWK_API void* __cdecl RhAllocateThunksMapping()
Expand Down

0 comments on commit a892bba

Please sign in to comment.