Allows the use of IsHFA only when FEATURE_HFA is enabled
authorJonghyun Park <parjong@gmail.com>
Wed, 8 Jun 2016 23:56:44 +0000 (08:56 +0900)
committerJonghyun Park <parjong@gmail.com>
Wed, 8 Jun 2016 23:56:44 +0000 (08:56 +0900)
Commit migrated from https://github.com/dotnet/coreclr/commit/70778cc8890bfc0a044f7d461638ec9a47ced5ee

src/coreclr/src/vm/callingconvention.h

index 7337796..74862c0 100644 (file)
@@ -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;
     }