summaryrefslogtreecommitdiff
path: root/src/vm/prestub.cpp
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2018-07-05 09:46:51 -0700
committerGitHub <noreply@github.com>2018-07-05 09:46:51 -0700
commitb1bda1bbc9a5fe9954938b4b627660d3acbe7504 (patch)
tree60a2e183f18efd15d996a4534cee51717e8e11e8 /src/vm/prestub.cpp
parentcd1232d47cc028ebf6d22621ce63903a7e5c0e94 (diff)
downloadcoreclr-b1bda1bbc9a5fe9954938b4b627660d3acbe7504.tar.gz
coreclr-b1bda1bbc9a5fe9954938b4b627660d3acbe7504.tar.bz2
coreclr-b1bda1bbc9a5fe9954938b4b627660d3acbe7504.zip
Enable genFnCalleeRegArgs for Arm64 Varargs (#18714)
* Enable genFnCalleeRegArgs for Arm64 Varargs Before the method would early out and incorrectly expect the usage of all incoming arguments to be their homed stack slots. It is instead possible for incoming arguments to be homed to different integer registers. The change will mangle the float types for vararg cases in the same way that is done during lvaInitUserArgs and fgMorphArgs. * Apply format patch * Account for softfp case * Address feedback * Apply format patch * Use standard function header for mangleVarArgsType * Remove confusing comment
Diffstat (limited to 'src/vm/prestub.cpp')
-rw-r--r--src/vm/prestub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/prestub.cpp b/src/vm/prestub.cpp
index 721de3c4ad..ae2b9ac397 100644
--- a/src/vm/prestub.cpp
+++ b/src/vm/prestub.cpp
@@ -1990,7 +1990,7 @@ PCODE TheVarargNDirectStub(BOOL hasRetBuffArg)
{
LIMITED_METHOD_CONTRACT;
-#if !defined(_TARGET_X86_)
+#if !defined(_TARGET_X86_) && !defined(_TARGET_ARM64_)
if (hasRetBuffArg)
{
return GetEEFuncEntryPoint(VarargPInvokeStub_RetBuffArg);