From 57d6887745844ea882b3dde4c54155e4f57f41ff Mon Sep 17 00:00:00 2001 From: Pat Gavlin Date: Thu, 8 Sep 2016 09:36:20 -0700 Subject: Return false from isRegPairType for RyuJIT. The RyuJIT backend does not use regpair types, so this method should simply return false when that backend is in use. In the future we should consider removing this method (and other regpair-related code). Fixes #7089. --- src/jit/target.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jit/target.h b/src/jit/target.h index fa0b18af3e..82e7f9e4c6 100644 --- a/src/jit/target.h +++ b/src/jit/target.h @@ -2277,6 +2277,9 @@ inline regNumber regNextOfType(regNumber reg, var_types type) inline bool isRegPairType(int /* s/b "var_types" */ type) { +#if !CPU_LONG_USES_REGPAIR + return false; +#else #ifdef _TARGET_64BIT_ return false; #elif CPU_HAS_FP_SUPPORT @@ -2284,6 +2287,7 @@ inline bool isRegPairType(int /* s/b "var_types" */ type) #else return type == TYP_LONG || type == TYP_DOUBLE; #endif +#endif // CPU_LONG_USES_REGPAIR } inline bool isFloatRegType(int /* s/b "var_types" */ type) -- cgit v1.2.3