summaryrefslogtreecommitdiff
path: root/src/vm/callingconvention.h
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2016-06-09 08:56:44 +0900
committerJonghyun Park <parjong@gmail.com>2016-06-09 08:56:44 +0900
commit70778cc8890bfc0a044f7d461638ec9a47ced5ee (patch)
tree24817a81b4431af4a36da7922c5dcc06158ae007 /src/vm/callingconvention.h
parentd491d08d6abb4918ae4090957dfad30154d31b17 (diff)
downloadcoreclr-70778cc8890bfc0a044f7d461638ec9a47ced5ee.tar.gz
coreclr-70778cc8890bfc0a044f7d461638ec9a47ced5ee.tar.bz2
coreclr-70778cc8890bfc0a044f7d461638ec9a47ced5ee.zip
Allows the use of IsHFA only when FEATURE_HFA is enabled
Diffstat (limited to 'src/vm/callingconvention.h')
-rw-r--r--src/vm/callingconvention.h2
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;
}