summaryrefslogtreecommitdiff
path: root/src/vm/callhelpers.cpp
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityam@microsoft.com>2018-08-07 15:17:52 -0700
committerAditya Mandaleeka <adityam@microsoft.com>2018-08-07 15:17:52 -0700
commit87174a2fdf97938b0ee8d64a0b784f1c01bf2932 (patch)
tree24103edd4c7cabd88cbe6bd127df0de23a30af00 /src/vm/callhelpers.cpp
parenta113b1c803783c9d64f1f0e946ff9a853e3bc140 (diff)
downloadcoreclr-87174a2fdf97938b0ee8d64a0b784f1c01bf2932.tar.gz
coreclr-87174a2fdf97938b0ee8d64a0b784f1c01bf2932.tar.bz2
coreclr-87174a2fdf97938b0ee8d64a0b784f1c01bf2932.zip
Make VM-side changes for ARM64 Windows calling convention.
Diffstat (limited to 'src/vm/callhelpers.cpp')
-rw-r--r--src/vm/callhelpers.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vm/callhelpers.cpp b/src/vm/callhelpers.cpp
index 55073a8a1e..d11c4e83d4 100644
--- a/src/vm/callhelpers.cpp
+++ b/src/vm/callhelpers.cpp
@@ -208,6 +208,12 @@ void * DispatchCallSimple(
callDescrData.pSrc = pSrc;
callDescrData.numStackSlots = numStackSlotsToCopy;
#endif
+
+#ifdef CALLDESCR_RETBUFFARGREG
+ UINT64 retBuffArgPlaceholder = 0;
+ callDescrData.pRetBuffArg = &retBuffArgPlaceholder;
+#endif
+
#ifdef CALLDESCR_FPARGREGS
callDescrData.pFloatArgumentRegisters = NULL;
#endif
@@ -597,6 +603,9 @@ void MethodDescCallSite::CallTargetWorker(const ARG_SLOT *pArguments, ARG_SLOT *
#ifdef CALLDESCR_ARGREGS
callDescrData.pArgumentRegisters = (ArgumentRegisters*)(pTransitionBlock + TransitionBlock::GetOffsetOfArgumentRegisters());
#endif
+#ifdef CALLDESCR_RETBUFFARGREG
+ callDescrData.pRetBuffArg = (UINT64*)(pTransitionBlock + TransitionBlock::GetOffsetOfRetBuffArgReg());
+#endif
#ifdef CALLDESCR_FPARGREGS
callDescrData.pFloatArgumentRegisters = pFloatArgumentRegisters;
#endif