< prev index next >
src/hotspot/cpu/s390/sharedRuntime_s390.cpp
Print this page
rev 49827 : 8201593: Print array length in ArrayIndexOutOfBoundsException.
*** 312,323 ****
// Save return pc in old frame.
__ save_return_pc(return_pc);
// Push a new frame (includes stack linkage).
! // use return_pc as scratch for push_frame. Z_R0_scratch (the default) and Z_R1_scratch are
! // illegally used to pass parameters (SAPJVM extension) by RangeCheckStub::emit_code().
__ push_frame(frame_size_in_bytes, return_pc);
// We have to restore return_pc right away.
// Nobody else will. Furthermore, return_pc isn't necessarily the default (Z_R14).
// Nobody else knows which register we saved.
__ z_lg(return_pc, _z_abi16(return_pc) + frame_size_in_bytes, Z_SP);
--- 312,323 ----
// Save return pc in old frame.
__ save_return_pc(return_pc);
// Push a new frame (includes stack linkage).
! // Use return_pc as scratch for push_frame. Z_R0_scratch (the default) and Z_R1_scratch are
! // illegally used to pass parameters by RangeCheckStub::emit_code().
__ push_frame(frame_size_in_bytes, return_pc);
// We have to restore return_pc right away.
// Nobody else will. Furthermore, return_pc isn't necessarily the default (Z_R14).
// Nobody else knows which register we saved.
__ z_lg(return_pc, _z_abi16(return_pc) + frame_size_in_bytes, Z_SP);
< prev index next >