< prev index next >

src/hotspot/cpu/s390/interp_masm_s390.cpp

Print this page

        

*** 1,8 **** /* ! * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2016, 2019 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.
*** 412,434 **** get_cache_and_index_at_bcp(cache, tmp, bcp_offset, index_size); add2reg_with_index(cache, in_bytes(ConstantPoolCache::base_offset()), tmp, cache); BLOCK_COMMENT("}"); } - void InterpreterMacroAssembler::load_resolved_method_at_index(int byte_no, - Register cache, - Register cpe_offset, - Register method) { - const int method_offset = in_bytes( - ConstantPoolCache::base_offset() + - ((byte_no == TemplateTable::f2_byte) - ? ConstantPoolCacheEntry::f2_offset() - : ConstantPoolCacheEntry::f1_offset())); - - z_lg(method, Address(cache, cpe_offset, method_offset)); // get f1 Method* - } - // Generate a subtype check: branch to ok_is_subtype if sub_klass is // a subtype of super_klass. Blows registers Rsuper_klass, Rsub_klass, tmp1, tmp2. void InterpreterMacroAssembler::gen_subtype_check(Register Rsub_klass, Register Rsuper_klass, Register Rtmp1, --- 412,421 ----
*** 2186,2196 **** // so it is important that sender_sp is the caller's sp as TOP_IJAVA_FRAME. Register R_f1_sender_sp = tmp1; Register R_f2_sp = tmp2; ! // First check for the interpreter frame's magic. asm_assert_ijava_state_magic(R_f2_sp/*tmp*/); z_lg(R_f2_sp, _z_parent_ijava_frame_abi(callers_sp), Z_fp); z_lg(R_f1_sender_sp, _z_ijava_state_neg(sender_sp), Z_fp); if (return_pc->is_valid()) z_lg(return_pc, _z_parent_ijava_frame_abi(return_pc), Z_fp); --- 2173,2183 ---- // so it is important that sender_sp is the caller's sp as TOP_IJAVA_FRAME. Register R_f1_sender_sp = tmp1; Register R_f2_sp = tmp2; ! // Tirst check the for the interpreter frame's magic. asm_assert_ijava_state_magic(R_f2_sp/*tmp*/); z_lg(R_f2_sp, _z_parent_ijava_frame_abi(callers_sp), Z_fp); z_lg(R_f1_sender_sp, _z_ijava_state_neg(sender_sp), Z_fp); if (return_pc->is_valid()) z_lg(return_pc, _z_parent_ijava_frame_abi(return_pc), Z_fp);
< prev index next >