diff options
author | Hyeongseok Oh <hseok82.oh@samsung.com> | 2017-05-30 18:58:33 +0900 |
---|---|---|
committer | Hyeongseok Oh <hseok82.oh@samsung.com> | 2017-05-30 18:58:33 +0900 |
commit | 99cd56e15b8122fdc965f109066105014d25c823 (patch) | |
tree | 050530803adb942be5d33f25408b98e76b4bf4d6 /src | |
parent | 42b5e15d656ac466ece6587005ffb646d4c9e9a3 (diff) | |
download | coreclr-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.cpp | 2 |
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 { |