Lines Matching refs:handle_kind
363 inline bool IsInvoke(const mirror::MethodHandle::Kind handle_kind) { in IsInvoke() argument
364 return handle_kind <= mirror::MethodHandle::Kind::kLastInvokeKind; in IsInvoke()
367 inline bool IsInvokeTransform(const mirror::MethodHandle::Kind handle_kind) { in IsInvokeTransform() argument
368 return (handle_kind == mirror::MethodHandle::Kind::kInvokeTransform in IsInvokeTransform()
369 || handle_kind == mirror::MethodHandle::Kind::kInvokeCallSiteTransform); in IsInvokeTransform()
372 inline bool IsInvokeVarHandle(const mirror::MethodHandle::Kind handle_kind) { in IsInvokeVarHandle() argument
373 return (handle_kind == mirror::MethodHandle::Kind::kInvokeVarHandle || in IsInvokeVarHandle()
374 handle_kind == mirror::MethodHandle::Kind::kInvokeVarHandleExact); in IsInvokeVarHandle()
377 inline bool IsFieldAccess(mirror::MethodHandle::Kind handle_kind) { in IsFieldAccess() argument
378 return (handle_kind >= mirror::MethodHandle::Kind::kFirstAccessorKind in IsFieldAccess()
379 && handle_kind <= mirror::MethodHandle::Kind::kLastAccessorKind); in IsFieldAccess()
649 const mirror::MethodHandle::Kind& handle_kind, in RefineTargetMethod() argument
655 if (handle_kind == mirror::MethodHandle::Kind::kInvokeVirtual || in RefineTargetMethod()
656 handle_kind == mirror::MethodHandle::Kind::kInvokeInterface) { in RefineTargetMethod()
678 } else if (handle_kind == mirror::MethodHandle::Kind::kInvokeDirect) { in RefineTargetMethod()
685 } else if (handle_kind == mirror::MethodHandle::Kind::kInvokeSuper) { in RefineTargetMethod()
726 const mirror::MethodHandle::Kind handle_kind = method_handle->GetHandleKind(); in DoInvokePolymorphicMethod() local
727 DCHECK(IsInvoke(handle_kind)); in DoInvokePolymorphicMethod()
737 handle_kind, in DoInvokePolymorphicMethod()
747 if (IsInvokeTransform(handle_kind)) { in DoInvokePolymorphicMethod()
757 (handle_kind == mirror::MethodHandle::Kind::kInvokeCallSiteTransform) ? callsite_type in DoInvokePolymorphicMethod()
908 const mirror::MethodHandle::Kind handle_kind = method_handle->GetHandleKind(); in MethodHandleFieldAccess() local
911 switch (handle_kind) { in MethodHandleFieldAccess()
979 LOG(FATAL) << "Unreachable: " << handle_kind; in MethodHandleFieldAccess()
1103 const mirror::MethodHandle::Kind handle_kind = method_handle->GetHandleKind(); in MethodHandleInvokeInternal() local
1104 if (IsFieldAccess(handle_kind)) { in MethodHandleInvokeInternal()
1120 if (IsInvokeVarHandle(handle_kind)) { in MethodHandleInvokeInternal()
1152 const mirror::MethodHandle::Kind handle_kind = method_handle->GetHandleKind(); in MethodHandleInvokeExactInternal() local
1153 if (IsFieldAccess(handle_kind)) { in MethodHandleInvokeExactInternal()
1164 if (IsInvokeTransform(handle_kind) || in MethodHandleInvokeExactInternal()
1172 } else if (IsInvokeVarHandle(handle_kind)) { in MethodHandleInvokeExactInternal()
1187 handle_kind, in MethodHandleInvokeExactInternal()