equal
deleted
inserted
replaced
314 |
314 |
315 // Is vector's size (in bytes) bigger than a size saved by default? |
315 // Is vector's size (in bytes) bigger than a size saved by default? |
316 // 8 bytes FP registers are saved by default on SPARC. |
316 // 8 bytes FP registers are saved by default on SPARC. |
317 bool SharedRuntime::is_wide_vector(int size) { |
317 bool SharedRuntime::is_wide_vector(int size) { |
318 // Note, MaxVectorSize == 8 on SPARC. |
318 // Note, MaxVectorSize == 8 on SPARC. |
319 assert(size <= 8, err_msg_res("%d bytes vectors are not supported", size)); |
319 assert(size <= 8, "%d bytes vectors are not supported", size); |
320 return size > 8; |
320 return size > 8; |
321 } |
321 } |
322 |
322 |
323 // The java_calling_convention describes stack locations as ideal slots on |
323 // The java_calling_convention describes stack locations as ideal slots on |
324 // a frame with no abi restrictions. Since we must observe abi restrictions |
324 // a frame with no abi restrictions. Since we must observe abi restrictions |
462 case T_VOID: |
462 case T_VOID: |
463 regs[i].set_bad(); // Halves of longs & doubles |
463 regs[i].set_bad(); // Halves of longs & doubles |
464 break; |
464 break; |
465 |
465 |
466 default: |
466 default: |
467 fatal(err_msg_res("unknown basic type %d", sig_bt[i])); |
467 fatal("unknown basic type %d", sig_bt[i]); |
468 break; |
468 break; |
469 } |
469 } |
470 } |
470 } |
471 |
471 |
472 // retun the amount of stack space these arguments will need. |
472 // retun the amount of stack space these arguments will need. |
1857 member_reg = G5_method; // known to be free at this point |
1857 member_reg = G5_method; // known to be free at this point |
1858 has_receiver = MethodHandles::ref_kind_has_receiver(ref_kind); |
1858 has_receiver = MethodHandles::ref_kind_has_receiver(ref_kind); |
1859 } else if (iid == vmIntrinsics::_invokeBasic) { |
1859 } else if (iid == vmIntrinsics::_invokeBasic) { |
1860 has_receiver = true; |
1860 has_receiver = true; |
1861 } else { |
1861 } else { |
1862 fatal(err_msg_res("unexpected intrinsic id %d", iid)); |
1862 fatal("unexpected intrinsic id %d", iid); |
1863 } |
1863 } |
1864 |
1864 |
1865 if (member_reg != noreg) { |
1865 if (member_reg != noreg) { |
1866 // Load the member_arg into register, if necessary. |
1866 // Load the member_arg into register, if necessary. |
1867 SharedRuntime::check_member_name_argument_is_last_argument(method, sig_bt, regs); |
1867 SharedRuntime::check_member_name_argument_is_last_argument(method, sig_bt, regs); |