< prev index next >

src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp

Print this page
*** 1569,12 ***
    int      ref_kind       = MethodHandles::signature_polymorphic_intrinsic_ref_kind(iid);
    if (ref_kind != 0) {
      member_arg_pos = method->size_of_parameters() - 1;  // trailing MemberName argument
      member_reg = R19_method;  // known to be free at this point
      has_receiver = MethodHandles::ref_kind_has_receiver(ref_kind);
!   } else if (iid == vmIntrinsics::_invokeBasic || iid == vmIntrinsics::_linkToNative) {
      has_receiver = true;
    } else {
      fatal("unexpected intrinsic id %d", vmIntrinsics::as_int(iid));
    }
  
    if (member_reg != noreg) {
--- 1569,15 ---
    int      ref_kind       = MethodHandles::signature_polymorphic_intrinsic_ref_kind(iid);
    if (ref_kind != 0) {
      member_arg_pos = method->size_of_parameters() - 1;  // trailing MemberName argument
      member_reg = R19_method;  // known to be free at this point
      has_receiver = MethodHandles::ref_kind_has_receiver(ref_kind);
!   } else if (iid == vmIntrinsics::_invokeBasic) {
      has_receiver = true;
+   } else if (iid == vmIntrinsics::_linkToNative) {
+     member_arg_pos = method->size_of_parameters() - 1;  // trailing NativeEntryPoint argument
+     member_reg = R19_method;  // known to be free at this point
    } else {
      fatal("unexpected intrinsic id %d", vmIntrinsics::as_int(iid));
    }
  
    if (member_reg != noreg) {

*** 3265,15 ***
      ::montgomery_multiply(a, a, n, m, (unsigned long)inv, longwords);
    }
  
    reverse_words(m, (unsigned long *)m_ints, longwords);
  }
- 
- #ifdef COMPILER2
- RuntimeStub* SharedRuntime::make_native_invoker(address call_target,
-                                                 int shadow_space_bytes,
-                                                 const GrowableArray<VMReg>& input_registers,
-                                                 const GrowableArray<VMReg>& output_registers) {
-   Unimplemented();
-   return nullptr;
- }
- #endif
--- 3268,5 ---
< prev index next >