diff options
author | Brian Sullivan <briansul@microsoft.com> | 2019-04-17 15:23:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-17 15:23:02 -0700 |
commit | 3c9d270325585c00d4d5bc3eab495080e78274d7 (patch) | |
tree | 406a2ccf2199d7a1b8356ba8f949b0e2fec95899 /src/jit/morph.cpp | |
parent | ea12523aaca4f8dd2f2e877d0998b72d9a34de91 (diff) | |
parent | dc4d6d72fe153d66406ec0da4ba4d94ab9d49416 (diff) | |
download | coreclr-3c9d270325585c00d4d5bc3eab495080e78274d7.tar.gz coreclr-3c9d270325585c00d4d5bc3eab495080e78274d7.tar.bz2 coreclr-3c9d270325585c00d4d5bc3eab495080e78274d7.zip |
Merge pull request #24067 from briansull/desktop-fix2
Fix for Desktop build break
Diffstat (limited to 'src/jit/morph.cpp')
-rw-r--r-- | src/jit/morph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp index 478a4049bb..6e4c8a8366 100644 --- a/src/jit/morph.cpp +++ b/src/jit/morph.cpp @@ -4695,9 +4695,9 @@ GenTree* Compiler::fgMorphMultiregStructArg(GenTree* arg, fgArgTabEntry* fgEntry // We have a HFA struct. // Note that GetHfaType may not be the same as elemType, since TYP_SIMD8 is handled the same as TYP_DOUBLE. var_types useElemType = elemType; -#ifdef _TARGET_ARM64_ +#if defined(_TARGET_ARM64_) & defined(FEATURE_SIMD) useElemType = (elemType == TYP_SIMD8) ? TYP_DOUBLE : useElemType; -#endif // _TARGET_ARM64_ +#endif // _TARGET_ARM64_ && FEATURE_SIMD noway_assert(useElemType == varDsc->GetHfaType()); noway_assert(elemSize == genTypeSize(elemType)); noway_assert(elemCount == (varDsc->lvExactSize / elemSize)); |