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:
42b5e15
)
[RyuJIT/ARM32] Fix offset of struct argument when using stack
author
Hyeongseok Oh
<hseok82.oh@samsung.com>
Tue, 30 May 2017 09:58:33 +0000
(18:58 +0900)
committer
Hyeongseok Oh
<hseok82.oh@samsung.com>
Tue, 30 May 2017 09:58:33 +0000
(18:58 +0900)
Fix offset value when struct argument is passed on stack
src/jit/codegenarmarch.cpp
patch
|
blob
|
history
diff --git
a/src/jit/codegenarmarch.cpp
b/src/jit/codegenarmarch.cpp
index
f7edec1
..
48b40d7
100644
(file)
--- a/
src/jit/codegenarmarch.cpp
+++ b/
src/jit/codegenarmarch.cpp
@@
-751,7
+751,7
@@
void CodeGen::genPutArgStk(GenTreePutArgStk* treeNode)
if (varNode != nullptr)
{
// Load from our varNumImp source
- emit->emitIns_R_S(INS_ldr, emitTypeSize(type), loReg, varNumInp,
0
);
+ emit->emitIns_R_S(INS_ldr, emitTypeSize(type), loReg, varNumInp,
structOffset
);
}
else
{