Home | History | Annotate | Download | only in verifier

Lines Matching refs:method_type

50 #include "mirror/method_type.h"
3108 // Verify registers based on method_type in the call site.
3766 uint32_t dex_method_idx, MethodType method_type) {
3818 if (res_method->IsConstructor() && method_type != METHOD_DIRECT) {
3838 if (method_type != METHOD_INTERFACE &&
3839 method_type != METHOD_STATIC &&
3841 method_type != METHOD_DIRECT) &&
3842 method_type != METHOD_SUPER) {
3849 if (method_type == METHOD_INTERFACE) {
3860 if (method_type == METHOD_INTERFACE &&
3879 if (res_method->IsPrivate() && (method_type == METHOD_VIRTUAL || method_type == METHOD_SUPER)) {
3888 if ((method_type == METHOD_DIRECT && (!res_method->IsDirect() || res_method->IsStatic())) ||
3889 (method_type == METHOD_STATIC && !res_method->IsStatic()) ||
3890 ((method_type == METHOD_SUPER ||
3891 method_type == METHOD_VIRTUAL ||
3892 method_type == METHOD_INTERFACE) && res_method->IsDirect()) ||
3893 ((method_type == METHOD_POLYMORPHIC) &&
3895 Fail(VERIFY_ERROR_CLASS_CHANGE) << "invoke type (" << method_type << ") does not match method "
3900 DCHECK(!must_fail) << "invoke type (" << method_type << ")"
3911 T* it, const Instruction* inst, MethodType method_type, bool is_range, ArtMethod* res_method) {
3931 if (method_type != METHOD_STATIC) {
3957 if (method_type != METHOD_INTERFACE && !adjusted_type.IsZeroOrNull()) {
3994 uint32_t sig_registers = (method_type == METHOD_STATIC) ? 0 : 1;
4054 MethodType method_type,
4062 VerifyInvocationArgsFromIterator(&it, inst, method_type, is_range, nullptr);
4074 // main values (method handle, name, method_type).
4211 const Instruction* inst, MethodType method_type, bool is_range) {
4215 ArtMethod* res_method = ResolveMethodAndCheckAccess(method_idx, method_type);
4219 VerifyInvocationArgsUnresolvedMethod(inst, method_type, is_range);
4226 if (method_type == METHOD_SUPER) {
4277 if (UNLIKELY(method_type == METHOD_POLYMORPHIC)) {
4280 return VerifyInvocationArgsFromIterator(&it, inst, method_type, is_range, res_method);
4284 return VerifyInvocationArgsFromIterator(&it, inst, method_type, is_range, res_method);