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:
b38cfeb
)
[RyuJIT/ARM32] Fix using fgMorphMultiregStructArg for mkrefany
author
Hyeongseok Oh
<hseok82.oh@samsung.com>
Fri, 30 Jun 2017 05:04:51 +0000
(14:04 +0900)
committer
Hyeongseok Oh
<hseok82.oh@samsung.com>
Fri, 30 Jun 2017 05:04:51 +0000
(14:04 +0900)
Block using fgMorphMultiregStructArg function for mkrefany.
Morphing for mkrefany struct is already done in fgMorphArgs function.
src/jit/morph.cpp
patch
|
blob
|
history
diff --git
a/src/jit/morph.cpp
b/src/jit/morph.cpp
index
588309d
..
dd83b77
100644
(file)
--- a/
src/jit/morph.cpp
+++ b/
src/jit/morph.cpp
@@
-3816,7
+3816,8
@@
GenTreeCall* Compiler::fgMorphArgs(GenTreeCall* call)
hasMultiregStructArgs = true;
}
#elif defined(_TARGET_ARM_)
- if (size > 1)
+ // Build the mkrefany as a GT_FIELD_LIST in this function
+ if (size > 1 && argx->gtOper != GT_MKREFANY)
{
hasMultiregStructArgs = true;
}