From 70778cc8890bfc0a044f7d461638ec9a47ced5ee Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Thu, 9 Jun 2016 08:56:44 +0900 Subject: Allows the use of IsHFA only when FEATURE_HFA is enabled --- src/vm/callingconvention.h | 2 ++ 1 file changed, 2 insertions(+) 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::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; } -- cgit v1.2.3