projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400ea02
)
disable pass/return struct(float, float) using register in 32bit architecture
author
Hyeongseok Oh
<hseok82.oh@smasung.com>
Fri, 5 Aug 2016 03:42:52 +0000
(12:42 +0900)
committer
Hyeongseok Oh
<hseok82.oh@smasung.com>
Fri, 5 Aug 2016 03:42:52 +0000
(12:42 +0900)
src/jit/compiler.cpp
patch
|
blob
|
history
diff --git
a/src/jit/compiler.cpp
b/src/jit/compiler.cpp
index
1f8a319
..
8ba1103
100644
(file)
--- a/
src/jit/compiler.cpp
+++ b/
src/jit/compiler.cpp
@@
-946,6
+946,7
@@
var_types Compiler::getReturnTypeForStruct(CORINFO_CLASS_HANDLE clsHnd,
#endif // FEATURE_UNIX_AMD64_STRUCT_PASSING
+#ifdef _TARGET_64BIT_
// Note this handles an odd case when FEATURE_MULTIREG_RET is disabled and HFAs are enabled
//
// getPrimitiveTypeForStruct will return TYP_UNKNOWN for a struct that is an HFA of two floats
@@
-962,6
+963,7
@@
var_types Compiler::getReturnTypeForStruct(CORINFO_CLASS_HANDLE clsHnd,
{
useType = TYP_I_IMPL;
}
+#endif
// Did we change this struct type into a simple "primitive" type?
//