1.1 --- a/src/cpu/sparc/vm/assembler_sparc.hpp Mon Jul 23 13:04:59 2012 -0700 1.2 +++ b/src/cpu/sparc/vm/assembler_sparc.hpp Tue Jul 24 10:51:00 2012 -0700 1.3 @@ -2538,6 +2538,11 @@ 1.4 Register temp_reg, Register temp2_reg, 1.5 Label& no_such_interface); 1.6 1.7 + // virtual method calling 1.8 + void lookup_virtual_method(Register recv_klass, 1.9 + RegisterOrConstant vtable_index, 1.10 + Register method_result); 1.11 + 1.12 // Test sub_klass against super_klass, with fast and slow paths. 1.13 1.14 // The fast path produces a tri-state answer: yes / no / maybe-slow. 1.15 @@ -2577,12 +2582,6 @@ 1.16 Label& L_success); 1.17 1.18 // method handles (JSR 292) 1.19 - void check_method_handle_type(Register mtype_reg, Register mh_reg, 1.20 - Register temp_reg, 1.21 - Label& wrong_method_type); 1.22 - void load_method_handle_vmslots(Register vmslots_reg, Register mh_reg, 1.23 - Register temp_reg); 1.24 - void jump_to_method_handle_entry(Register mh_reg, Register temp_reg, bool emit_delayed_nop = true); 1.25 // offset relative to Gargs of argument at tos[arg_slot]. 1.26 // (arg_slot == 0 means the last argument, not the first). 1.27 RegisterOrConstant argument_offset(RegisterOrConstant arg_slot, 1.28 @@ -2590,7 +2589,7 @@ 1.29 int extra_slot_offset = 0); 1.30 // Address of Gargs and argument_offset. 1.31 Address argument_address(RegisterOrConstant arg_slot, 1.32 - Register temp_reg, 1.33 + Register temp_reg = noreg, 1.34 int extra_slot_offset = 0); 1.35 1.36 // Stack overflow checking