summaryrefslogtreecommitdiff
path: root/src/jit/gentree.h
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2018-07-16 21:45:47 -0700
committerCarol Eidt <carol.eidt@microsoft.com>2018-07-16 21:45:47 -0700
commit8a6fe594c1f85c762ad94c3dd9b9828d3ae0459c (patch)
treea3c203f17798611bbccbca64aaa9d899ad58ef4a /src/jit/gentree.h
parentc296f061a50c91bebad767aa1e5421d1646ce6a6 (diff)
downloadcoreclr-8a6fe594c1f85c762ad94c3dd9b9828d3ae0459c.tar.gz
coreclr-8a6fe594c1f85c762ad94c3dd9b9828d3ae0459c.tar.bz2
coreclr-8a6fe594c1f85c762ad94c3dd9b9828d3ae0459c.zip
Use `FEATURE_ARG_SPLIT` to qualify handling of `GT_PUTARG_SPLIT`
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r--src/jit/gentree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h
index 420452c6fe..e6345cd787 100644
--- a/src/jit/gentree.h
+++ b/src/jit/gentree.h
@@ -6030,7 +6030,7 @@ inline regNumber GenTree::GetRegByIndex(int regIndex)
return AsCall()->GetRegNumByIdx(regIndex);
}
-#if defined(_TARGET_ARMARCH_)
+#if FEATURE_ARG_SPLIT
if (OperIsPutArgSplit())
{
return AsPutArgSplit()->GetRegNumByIdx(regIndex);