arm32 build fix.
authorJarret Shook <jashook@jarrets-mini.guest.corp.microsoft.com>
Wed, 25 May 2016 22:46:46 +0000 (15:46 -0700)
committerJarret Shook <jashook@jarrets-mini.guest.corp.microsoft.com>
Wed, 25 May 2016 22:46:46 +0000 (15:46 -0700)
Add an #else statement so that an unreachable return statement is not inserted.

src/jit/compiler.h

index e44b0ecae40119027a444bb5e8d2d8ccee1acf82..cf3a6b4c507a0c50ba17ef62b6c28e9be449b557 100644 (file)
@@ -7906,14 +7906,14 @@ public :
     // TODO-ARM64: Does this apply for ARM64 too?
     bool                compMethodReturnsMultiRegRetType() 
     {       
-#if FEATURE_MULTIREG_RET
-#if defined(FEATURE_UNIX_AMD64_STRUCT_PASSING) || defined(_TARGET_ARM_)
+#if FEATURE_MULTIREG_RET && (defined(FEATURE_UNIX_AMD64_STRUCT_PASSING) || defined(_TARGET_ARM_))
         // Methods returning a struct in two registers is considered having a return value of TYP_STRUCT.
         // Such method's compRetNativeType is TYP_STRUCT without a hidden RetBufArg
         return varTypeIsStruct(info.compRetNativeType) && (info.compRetBuffArg == BAD_VAR_NUM);
-#endif 
-#endif
+#else 
         return false;
+#endif // FEATURE_MULTIREG_RET && (defined(FEATURE_UNIX_AMD64_STRUCT_PASSING) || defined(_TARGET_ARM_))
+
     }
 
 #if FEATURE_MULTIREG_ARGS