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 assertion failed 'remainingSize == TARGET_POINTER_SIZE'
author
Hyeongseok Oh
<hseok82.oh@samsung.com>
Tue, 30 May 2017 10:05:35 +0000
(19:05 +0900)
committer
Hyeongseok Oh
<hseok82.oh@samsung.com>
Tue, 30 May 2017 10:05:35 +0000
(19:05 +0900)
Fix assertion failed by 'remainingSize == TARGET_POINTER_SIZE'
Fix to check register allocation correctly
src/jit/codegenarmarch.cpp
patch
|
blob
|
history
diff --git
a/src/jit/codegenarmarch.cpp
b/src/jit/codegenarmarch.cpp
index
f7edec1
..
5e8664a
100644
(file)
--- 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);