comparison src/cpu/sparc/vm/methodHandles_sparc.cpp @ 1901:7aff5786cc02

6991596: JSR 292 unimplemented adapter_opt_i2i and adapter_opt_l2i on SPARC Reviewed-by: kvn, jrose, dsamersoff
author twisti
date Mon, 18 Oct 2010 01:54:24 -0700
parents 5beba6174298
children fff777a71346
comparison
equal deleted inserted replaced
1900:e5c3d73017ab 1901:7aff5786cc02
628 Address value; 628 Address value;
629 bool value_left_justified = false; 629 bool value_left_justified = false;
630 630
631 switch (ek) { 631 switch (ek) {
632 case _adapter_opt_i2i: 632 case _adapter_opt_i2i:
633 value = vmarg;
634 break;
633 case _adapter_opt_l2i: 635 case _adapter_opt_l2i:
634 __ unimplemented(entry_name(ek)); 636 {
635 value = vmarg; 637 // just delete the extra slot
638 __ add(Gargs, __ argument_offset(O0_argslot), O0_argslot);
639 remove_arg_slots(_masm, -stack_move_unit(), O0_argslot, O1_scratch, O2_scratch, O3_scratch);
640 value = vmarg = Address(O0_argslot, 0);
641 }
636 break; 642 break;
637 case _adapter_opt_unboxi: 643 case _adapter_opt_unboxi:
638 { 644 {
639 // Load the value up from the heap. 645 // Load the value up from the heap.
640 __ ld_ptr(vmarg, O1_scratch); 646 __ ld_ptr(vmarg, O1_scratch);