comparison src/cpu/sparc/vm/methodHandles_sparc.cpp @ 3297:6431be02f3ac

Merge
author trims
date Fri, 29 Apr 2011 16:55:43 -0700
parents d934e4b931e9
children 2e038ad0c1d0
comparison
equal deleted inserted replaced
3265:d7cc76ea8d06 3297:6431be02f3ac
484 // Same as TemplateTable::invokestatic or invokespecial, 484 // Same as TemplateTable::invokestatic or invokespecial,
485 // minus the CP setup and profiling: 485 // minus the CP setup and profiling:
486 if (ek == _invokespecial_mh) { 486 if (ek == _invokespecial_mh) {
487 // Must load & check the first argument before entering the target method. 487 // Must load & check the first argument before entering the target method.
488 __ load_method_handle_vmslots(O0_argslot, G3_method_handle, O1_scratch); 488 __ load_method_handle_vmslots(O0_argslot, G3_method_handle, O1_scratch);
489 __ ld_ptr(__ argument_address(O0_argslot), G3_method_handle); 489 __ ld_ptr(__ argument_address(O0_argslot, -1), G3_method_handle);
490 __ null_check(G3_method_handle); 490 __ null_check(G3_method_handle);
491 __ verify_oop(G3_method_handle); 491 __ verify_oop(G3_method_handle);
492 } 492 }
493 __ jump_indirect_to(G5_method_fie, O1_scratch); 493 __ jump_indirect_to(G5_method_fie, O1_scratch);
494 __ delayed()->nop(); 494 __ delayed()->nop();