diff options
author | Hyeongseok Oh <hseok82.oh@samsung.com> | 2017-05-30 19:05:35 +0900 |
---|---|---|
committer | Hyeongseok Oh <hseok82.oh@samsung.com> | 2017-05-30 19:05:35 +0900 |
commit | 86454ad75a8fa8619fa21f199a2264c8fbc2d228 (patch) | |
tree | fa51c15307bfa29dfc963e106a8bdd5e20324391 /src | |
parent | 42b5e15d656ac466ece6587005ffb646d4c9e9a3 (diff) | |
download | coreclr-86454ad75a8fa8619fa21f199a2264c8fbc2d228.tar.gz coreclr-86454ad75a8fa8619fa21f199a2264c8fbc2d228.tar.bz2 coreclr-86454ad75a8fa8619fa21f199a2264c8fbc2d228.zip |
[RyuJIT/ARM32] Fix assertion failed 'remainingSize == TARGET_POINTER_SIZE'
Fix assertion failed by 'remainingSize == TARGET_POINTER_SIZE'
Fix to check register allocation correctly
Diffstat (limited to 'src')
-rw-r--r-- | src/jit/codegenarmarch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jit/codegenarmarch.cpp b/src/jit/codegenarmarch.cpp index f7edec1bfc..5e8664a78c 100644 --- a/src/jit/codegenarmarch.cpp +++ b/src/jit/codegenarmarch.cpp @@ -756,8 +756,7 @@ void CodeGen::genPutArgStk(GenTreePutArgStk* treeNode) else { // check for case of destroying the addrRegister while we still need it - assert(loReg != addrReg); - noway_assert(remainingSize == TARGET_POINTER_SIZE); + assert(loReg != addrReg || remainingSize == TARGET_POINTER_SIZE); // Load from our address expression source emit->emitIns_R_R_I(INS_ldr, emitTypeSize(type), loReg, addrReg, structOffset); |