summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHyeongseok Oh <hseok82.oh@samsung.com>2017-05-30 18:58:33 +0900
committerHyeongseok Oh <hseok82.oh@samsung.com>2017-05-30 18:58:33 +0900
commit99cd56e15b8122fdc965f109066105014d25c823 (patch)
tree050530803adb942be5d33f25408b98e76b4bf4d6 /src
parent42b5e15d656ac466ece6587005ffb646d4c9e9a3 (diff)
downloadcoreclr-99cd56e15b8122fdc965f109066105014d25c823.tar.gz
coreclr-99cd56e15b8122fdc965f109066105014d25c823.tar.bz2
coreclr-99cd56e15b8122fdc965f109066105014d25c823.zip
[RyuJIT/ARM32] Fix offset of struct argument when using stack
Fix offset value when struct argument is passed on stack
Diffstat (limited to 'src')
-rw-r--r--src/jit/codegenarmarch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/codegenarmarch.cpp b/src/jit/codegenarmarch.cpp
index f7edec1bfc..48b40d7c86 100644
--- 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
{