diff options
author | Brian Sullivan <briansul@microsoft.com> | 2019-04-17 11:18:09 -0700 |
---|---|---|
committer | Brian Sullivan <briansul@microsoft.com> | 2019-04-17 11:18:33 -0700 |
commit | 5cd3582febac17dba773f5c7db956fd862e2d716 (patch) | |
tree | 1e91313ff15352d6f27d08e97ca03699c02d4a55 /src/jit/compiler.h | |
parent | adf6d4661a5f7367e70256ac1c37d71149a37f5b (diff) | |
download | coreclr-5cd3582febac17dba773f5c7db956fd862e2d716.tar.gz coreclr-5cd3582febac17dba773f5c7db956fd862e2d716.tar.bz2 coreclr-5cd3582febac17dba773f5c7db956fd862e2d716.zip |
Fix for Desktop build break
Diffstat (limited to 'src/jit/compiler.h')
-rw-r--r-- | src/jit/compiler.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jit/compiler.h b/src/jit/compiler.h index dec2343356..9691aac3ae 100644 --- a/src/jit/compiler.h +++ b/src/jit/compiler.h @@ -1082,8 +1082,9 @@ public: #ifdef FEATURE_HFA assert(lvIsHfa()); return HfaTypeFromElemKind(_lvHfaElemKind); -#endif // FEATURE_HFA +#else return TYP_UNDEF; +#endif // FEATURE_HFA } void SetHfaType(var_types type) @@ -1642,8 +1643,9 @@ public: { #ifdef FEATURE_HFA return HfaTypeFromElemKind(_hfaElemKind); -#endif // FEATURE_HFA +#else return TYP_UNDEF; +#endif // FEATURE_HFA } void SetHfaType(var_types type, unsigned hfaSlots) @@ -1773,10 +1775,12 @@ public: // Round up in case of odd HFA count. size = (size + 1) >> 1; } +#ifdef FEATURE_SIMD else if (hfaType == TYP_SIMD16) { size <<= 1; } +#endif #endif // _TARGET_ARM64_ } #endif // FEATURE_HFA |