diff options
author | dotnet bot <dotnet-bot@microsoft.com> | 2016-04-16 03:28:38 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-04-16 03:28:38 +0300 |
commit | a4dc55611322fcf8d5d2c1f274155f8a08f3508c (patch) | |
tree | ab0e6b983e0d09834dd57e9da720a2b0cd42e5cf /src/Native/Runtime/GCMemoryHelpers.cpp | |
parent | d7c196e5d7b7e4aa01fe0a9afdf27f4ca5890791 (diff) |
MRT changes for portability (#1152)
- Replace asm wrappers for GC helpers with regular PInvoke for better portability. There is an extra GC mode switch now but it should not matter because of these helpers are either expensive or rarely used.
- Remove asm code for RhpBulkWriteBarrier by switching to C++ implementation unconditionally (remove CORERT ifdef)
- Move error handling for RhHandleAlloc* to System.Private.CoreLib (remove CORERT ifdef)
- Add missing error handling for RhReRegisterForFinalize
- A few other minor fixes and cleanup
[tfs-changeset: 1596653]
Diffstat (limited to 'src/Native/Runtime/GCMemoryHelpers.cpp')
-rw-r--r-- | src/Native/Runtime/GCMemoryHelpers.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Native/Runtime/GCMemoryHelpers.cpp b/src/Native/Runtime/GCMemoryHelpers.cpp index 61c0996b3..4f9f0bcd3 100644 --- a/src/Native/Runtime/GCMemoryHelpers.cpp +++ b/src/Native/Runtime/GCMemoryHelpers.cpp @@ -131,9 +131,7 @@ void GCSafeCopyMemoryWithWriteBarrier(void * dest, const void *src, size_t len) InlinedBulkWriteBarrier(dest, (UInt32)len); } -#ifdef CORERT void REDHAWK_CALLCONV RhpBulkWriteBarrier(void* pMemStart, UInt32 cbMemSize) { InlinedBulkWriteBarrier(pMemStart, cbMemSize); } -#endif // CORERT |