8302905: arm32 Raspberry Pi OS build broken by JDK-8301494
Reviewed-by: mikael, martin
This commit is contained in:
parent
bb3dfd6adb
commit
91a2b5ec6f
@ -263,7 +263,7 @@ class SlowSignatureHandler: public NativeSignatureIterator {
|
||||
|
||||
virtual void pass_object() {
|
||||
intptr_t from_addr = (intptr_t)(_from + Interpreter::local_offset_in_bytes(0));
|
||||
*_to++ = (*(intptr_t*)from_addr == 0) ? (intptr_t)nullptr : from_addr;
|
||||
*_to++ = (*(intptr_t*)from_addr == 0) ? 0 : from_addr;
|
||||
_from -= Interpreter::stackElementSize;
|
||||
}
|
||||
|
||||
@ -306,9 +306,9 @@ class SlowSignatureHandler: public NativeSignatureIterator {
|
||||
virtual void pass_object() {
|
||||
intptr_t from_addr = (intptr_t)(_from + Interpreter::local_offset_in_bytes(0));
|
||||
if(_last_gp < GPR_PARAMS) {
|
||||
_toGP[_last_gp++] = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
|
||||
_toGP[_last_gp++] = (*(intptr_t*)from_addr == 0) ? 0 : from_addr;
|
||||
} else {
|
||||
*_to++ = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
|
||||
*_to++ = (*(intptr_t*)from_addr == 0) ? 0 : from_addr;
|
||||
}
|
||||
_from -= Interpreter::stackElementSize;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user