summaryrefslogtreecommitdiff
path: root/src/jit/gentree.h
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2018-06-14 13:16:45 -0700
committerGitHub <noreply@github.com>2018-06-14 13:16:45 -0700
commit35c84dfc414a8817ef74df2c2cd0486740fc11f4 (patch)
tree1721488e03a4755eb32e9f46afafb01838f9c70b /src/jit/gentree.h
parent38fc21129e23f6d5ff37755452f4b95f07de6c56 (diff)
downloadcoreclr-35c84dfc414a8817ef74df2c2cd0486740fc11f4.tar.gz
coreclr-35c84dfc414a8817ef74df2c2cd0486740fc11f4.tar.bz2
coreclr-35c84dfc414a8817ef74df2c2cd0486740fc11f4.zip
[Windows|Arm64|Vararg] Add FEATURE_ARG_SPLIT (#18346)
* [ARM64|Windows|Vararg] Add FEATURE_ARG_SPLIT Enable splitting >8 byte <= 16 byte structs for arm64 varargs between x7 and virtual stack slot 0. * Force notHfa for vararg methods * Correctly pass isVararg * Correct var name
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r--src/jit/gentree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h
index 009646d7c6..4baed55b6b 100644
--- a/src/jit/gentree.h
+++ b/src/jit/gentree.h
@@ -1182,9 +1182,9 @@ public:
bool OperIsPutArgSplit() const
{
-#if defined(_TARGET_ARM_)
+#if FEATURE_ARG_SPLIT
return gtOper == GT_PUTARG_SPLIT;
-#else
+#else // !FEATURE_ARG_SPLIT
return false;
#endif
}
@@ -5195,7 +5195,7 @@ struct GenTreePutArgStk : public GenTreeUnOp
#endif
};
-#if defined(_TARGET_ARM_)
+#if FEATURE_ARG_SPLIT
// Represent the struct argument: split value in register(s) and stack
struct GenTreePutArgSplit : public GenTreePutArgStk
{
@@ -5398,7 +5398,7 @@ struct GenTreePutArgSplit : public GenTreePutArgStk
}
#endif
};
-#endif // _TARGET_ARM_
+#endif // FEATURE_ARG_SPLIT
// Represents GT_COPY or GT_RELOAD node
struct GenTreeCopyOrReload : public GenTreeUnOp