projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad2829
)
[RyuJIT/ARM32] Fix register type setting for split struct arg
author
Hyeongseok Oh
<hseok82.oh@samsung.com>
Thu, 6 Jul 2017 05:07:21 +0000
(14:07 +0900)
committer
Hyeongseok Oh
<hseok82.oh@samsung.com>
Thu, 6 Jul 2017 05:07:21 +0000
(14:07 +0900)
Fix register type setting for split struct argument using GT_FIELD_LIST node
Commit migrated from https://github.com/dotnet/coreclr/commit/
ccaf2e88b9661501ca8d7141bbc0cd4b64864f9b
src/coreclr/src/jit/lower.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/lower.cpp
b/src/coreclr/src/jit/lower.cpp
index
2948392
..
09a5919
100644
(file)
--- a/
src/coreclr/src/jit/lower.cpp
+++ b/
src/coreclr/src/jit/lower.cpp
@@
-878,7
+878,7
@@
GenTreePtr Lowering::NewPutArg(GenTreeCall* call, GenTreePtr arg, fgArgTabEntryP
GenTreeFieldList* fieldListPtr = arg->AsFieldList();
for (unsigned index = 0; index < info->numRegs; fieldListPtr = fieldListPtr->Rest(), index++)
{
- var_types regType = fieldListPtr->TypeGet();
+ var_types regType = fieldListPtr->
gtGetOp1()->
TypeGet();
argSplit->m_regType[index] = regType;
}
}