diff options
author | Jonghyun Park <parjong@gmail.com> | 2016-06-09 08:56:44 +0900 |
---|---|---|
committer | Jonghyun Park <parjong@gmail.com> | 2016-06-09 08:56:44 +0900 |
commit | 70778cc8890bfc0a044f7d461638ec9a47ced5ee (patch) | |
tree | 24817a81b4431af4a36da7922c5dcc06158ae007 | |
parent | d491d08d6abb4918ae4090957dfad30154d31b17 (diff) | |
download | coreclr-70778cc8890bfc0a044f7d461638ec9a47ced5ee.tar.gz coreclr-70778cc8890bfc0a044f7d461638ec9a47ced5ee.tar.bz2 coreclr-70778cc8890bfc0a044f7d461638ec9a47ced5ee.zip |
Allows the use of IsHFA only when FEATURE_HFA is enabled
-rw-r--r-- | src/vm/callingconvention.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/callingconvention.h b/src/vm/callingconvention.h index 7337796725..74862c04a9 100644 --- a/src/vm/callingconvention.h +++ b/src/vm/callingconvention.h @@ -1094,10 +1094,12 @@ int ArgIteratorTemplate<ARGITERATOR_BASE>::GetNextOffset() // the interop "native value types". fRequiresAlign64Bit = thValueType.RequiresAlign8(); +#ifdef FEATURE_HFA // Handle HFAs: packed structures of 1-4 floats or doubles that are passed in FP argument // registers if possible. if (thValueType.IsHFA()) fFloatingPoint = true; +#endif break; } |