Use `FEATURE_ARG_SPLIT` to qualify handling of `GT_PUTARG_SPLIT`
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 17 Jul 2018 04:45:47 +0000 (21:45 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Tue, 17 Jul 2018 04:45:47 +0000 (21:45 -0700)
src/jit/gentree.h

index 420452c..e6345cd 100644 (file)
@@ -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);