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 10:13:31 +0300
committerJan Kotas <jkotas@microsoft.com>2015-12-18 10:13:31 +0300
commit6372118f2f477a101cc2f74c6c94c8e0e652a897 (patch)
treea4d3af9f28918e2001555875583023c31ca9f8af /src/Native/Runtime/EHHelpers.cpp
parent5f64fd1c6b3d026a1b77a42d34f692d6de268a4f (diff)
Add helpers that perform memory copy and gc-write barrier as a single operation
[tfs-changeset: 1558883]
Diffstat (limited to 'src/Native/Runtime/EHHelpers.cpp')
-rw-r--r--src/Native/Runtime/EHHelpers.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Native/Runtime/EHHelpers.cpp b/src/Native/Runtime/EHHelpers.cpp
index 9d260b683..e538b1d58 100644
--- a/src/Native/Runtime/EHHelpers.cpp
+++ b/src/Native/Runtime/EHHelpers.cpp
@@ -340,6 +340,8 @@ EXTERN_C void * RhpCopyMultibyteDestAVLocation;
EXTERN_C void * RhpCopyMultibyteSrcAVLocation;
EXTERN_C void * RhpCopyMultibyteNoGCRefsDestAVLocation;
EXTERN_C void * RhpCopyMultibyteNoGCRefsSrcAVLocation;
+EXTERN_C void * RhpCopyMultibyteWithWriteBarrierDestAVLocation;
+EXTERN_C void * RhpCopyMultibyteWithWriteBarrierSrcAVLocation;
static bool InWriteBarrierHelper(UIntNative faultingIP)
{
@@ -354,6 +356,8 @@ static bool InWriteBarrierHelper(UIntNative faultingIP)
(UIntNative)&RhpCopyMultibyteSrcAVLocation,
(UIntNative)&RhpCopyMultibyteNoGCRefsDestAVLocation,
(UIntNative)&RhpCopyMultibyteNoGCRefsSrcAVLocation,
+ (UIntNative)&RhpCopyMultibyteWithWriteBarrierDestAVLocation,
+ (UIntNative)&RhpCopyMultibyteWithWriteBarrierSrcAVLocation,
};
// compare the IP against the list of known possible AV locations in the write barrier helpers