Mercurial > hg > truffle
comparison src/cpu/sparc/vm/methodHandles_sparc.cpp @ 3277:d934e4b931e9
7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
Reviewed-by: kvn, jrose, twisti
author | never |
---|---|
date | Wed, 20 Apr 2011 09:29:00 -0700 |
parents | 3ef1a1866a60 |
children | 2e038ad0c1d0 |
comparison
equal
deleted
inserted
replaced
3276:2a34a4fbc52c | 3277:d934e4b931e9 |
---|---|
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(); |