< prev index next >
src/cpu/s390/vm/templateTable_s390.cpp
Print this page
rev 12273 : 8169317: [s390] Various minor bug fixes and adaptions.
*** 3829,3849 ****
void TemplateTable::newarray() {
transition(itos, atos);
// Call runtime.
__ z_llgc(Z_ARG2, at_bcp(1)); // type
! // size in Z_tos
call_VM(Z_RET,
CAST_FROM_FN_PTR(address, InterpreterRuntime::newarray),
! Z_ARG2, Z_tos);
}
void TemplateTable::anewarray() {
transition(itos, atos);
__ get_2_byte_integer_at_bcp(Z_ARG3, 1, InterpreterMacroAssembler::Unsigned);
__ get_constant_pool(Z_ARG2);
! __ z_llgfr(Z_ARG4, Z_tos);
call_VM(Z_tos, CAST_FROM_FN_PTR(address, InterpreterRuntime::anewarray),
Z_ARG2, Z_ARG3, Z_ARG4);
}
void TemplateTable::arraylength() {
--- 3829,3849 ----
void TemplateTable::newarray() {
transition(itos, atos);
// Call runtime.
__ z_llgc(Z_ARG2, at_bcp(1)); // type
! __ z_lgfr(Z_ARG3, Z_tos); // size
call_VM(Z_RET,
CAST_FROM_FN_PTR(address, InterpreterRuntime::newarray),
! Z_ARG2, Z_ARG3);
}
void TemplateTable::anewarray() {
transition(itos, atos);
__ get_2_byte_integer_at_bcp(Z_ARG3, 1, InterpreterMacroAssembler::Unsigned);
__ get_constant_pool(Z_ARG2);
! __ z_lgfr(Z_ARG4, Z_tos);
call_VM(Z_tos, CAST_FROM_FN_PTR(address, InterpreterRuntime::anewarray),
Z_ARG2, Z_ARG3, Z_ARG4);
}
void TemplateTable::arraylength() {
< prev index next >