Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-12-18 21:11:13 +0300
committerJan Kotas <jkotas@microsoft.com>2015-12-18 22:17:18 +0300
commited0beaf63473dde0eeff93e1e5afe99011fea709 (patch)
tree7bf289b21af763bc3e7c7749bfb590afc9c6bd5f /src/Native/Runtime/GCMemoryHelpers.h
parent6372118f2f477a101cc2f74c6c94c8e0e652a897 (diff)
Refactor force-inline GC-safe memory
- Move force-inline GC-safe memory helpers to .inl files to fix link errors for some build flavors. - Fix a bug in RhUnbox - it was not using GC-safe zero memory.
Diffstat (limited to 'src/Native/Runtime/GCMemoryHelpers.h')
-rw-r--r--src/Native/Runtime/GCMemoryHelpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Native/Runtime/GCMemoryHelpers.h b/src/Native/Runtime/GCMemoryHelpers.h
index 762abe1c9..0bbdad51a 100644
--- a/src/Native/Runtime/GCMemoryHelpers.h
+++ b/src/Native/Runtime/GCMemoryHelpers.h
@@ -7,4 +7,7 @@
// Unmanaged GC memory helpers
//
+void GCSafeZeroMemory(void * dest, size_t len);
+void GCSafeCopyMemoryWithWriteBarrier(void * dest, const void *src, size_t len);
+
EXTERN_C void REDHAWK_CALLCONV RhpBulkWriteBarrier(void* pMemStart, UInt32 cbMemSize);