< prev index next >

src/hotspot/cpu/s390/sharedRuntime_s390.cpp

Print this page
rev 49869 : 8201593: Print array length in ArrayIndexOutOfBoundsException.
Reviewed-by: dholmes

*** 1,8 **** /* ! * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2016, 2017 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,8 ---- /* ! * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2016, 2018 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 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 >