summaryrefslogtreecommitdiff
path: root/src/vm/arm64/asmconstants.h
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/arm64/asmconstants.h
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/arm64/asmconstants.h')
-rw-r--r--src/vm/arm64/asmconstants.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/vm/arm64/asmconstants.h b/src/vm/arm64/asmconstants.h
index dca845d000..262e481b53 100644
--- a/src/vm/arm64/asmconstants.h
+++ b/src/vm/arm64/asmconstants.h
@@ -55,19 +55,20 @@ ASMCONSTANTS_C_ASSERT(AppDomain__m_dwId == offsetof(AppDomain, m_dwId));
#define METHODDESC_REGISTER x12
-#define SIZEOF__ArgumentRegisters 0x48
+#define SIZEOF__ArgumentRegisters 0x40
ASMCONSTANTS_C_ASSERT(SIZEOF__ArgumentRegisters == sizeof(ArgumentRegisters))
#define SIZEOF__FloatArgumentRegisters 0x40
ASMCONSTANTS_C_ASSERT(SIZEOF__FloatArgumentRegisters == sizeof(FloatArgumentRegisters))
-#define CallDescrData__pSrc 0x00
-#define CallDescrData__numStackSlots 0x08
-#define CallDescrData__pArgumentRegisters 0x10
-#define CallDescrData__pFloatArgumentRegisters 0x18
-#define CallDescrData__fpReturnSize 0x20
-#define CallDescrData__pTarget 0x28
-#define CallDescrData__returnValue 0x30
+#define CallDescrData__pSrc 0x00
+#define CallDescrData__numStackSlots 0x08
+#define CallDescrData__pArgumentRegisters 0x10
+#define CallDescrData__pFloatArgumentRegisters 0x18
+#define CallDescrData__fpReturnSize 0x20
+#define CallDescrData__pTarget 0x28
+#define CallDescrData__pRetBuffArg 0x30
+#define CallDescrData__returnValue 0x38
ASMCONSTANTS_C_ASSERT(CallDescrData__pSrc == offsetof(CallDescrData, pSrc))
ASMCONSTANTS_C_ASSERT(CallDescrData__numStackSlots == offsetof(CallDescrData, numStackSlots))
@@ -75,6 +76,7 @@ ASMCONSTANTS_C_ASSERT(CallDescrData__pArgumentRegisters == offsetof(CallDescrD
ASMCONSTANTS_C_ASSERT(CallDescrData__pFloatArgumentRegisters == offsetof(CallDescrData, pFloatArgumentRegisters))
ASMCONSTANTS_C_ASSERT(CallDescrData__fpReturnSize == offsetof(CallDescrData, fpReturnSize))
ASMCONSTANTS_C_ASSERT(CallDescrData__pTarget == offsetof(CallDescrData, pTarget))
+ASMCONSTANTS_C_ASSERT(CallDescrData__pRetBuffArg == offsetof(CallDescrData, pRetBuffArg))
ASMCONSTANTS_C_ASSERT(CallDescrData__returnValue == offsetof(CallDescrData, returnValue))
#define CORINFO_NullReferenceException_ASM 0