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 420452c6fe34c6c445476a5cd83b13cb4d5dc7dc..e6345cd7870cc92d0d2d50ee7b1dd4214926225a 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);