diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-12-18 10:13:31 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-12-18 10:13:31 +0300 |
commit | 6372118f2f477a101cc2f74c6c94c8e0e652a897 (patch) | |
tree | a4d3af9f28918e2001555875583023c31ca9f8af /src/Native/Runtime/EHHelpers.cpp | |
parent | 5f64fd1c6b3d026a1b77a42d34f692d6de268a4f (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.cpp | 4 |
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 |