summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Gavlin <pgavlin@gmail.com>2016-09-08 13:24:00 -0700
committerGitHub <noreply@github.com>2016-09-08 13:24:00 -0700
commitd54da68a2ba1c1b6345bf66931621b17e1d97f9e (patch)
tree31bf842ecade953e682401d3f808cf0a6be43402
parent1c43df95410e57f0d40e6ee55012ef65bdac2487 (diff)
parent57d6887745844ea882b3dde4c54155e4f57f41ff (diff)
downloadcoreclr-d54da68a2ba1c1b6345bf66931621b17e1d97f9e.tar.gz
coreclr-d54da68a2ba1c1b6345bf66931621b17e1d97f9e.tar.bz2
coreclr-d54da68a2ba1c1b6345bf66931621b17e1d97f9e.zip
Merge pull request #7107 from pgavlin/gh7089
Fix #7089.
-rw-r--r--src/jit/target.h4
1 files changed, 4 insertions, 0 deletions
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)