Home | History | Annotate | Download | only in dex

Lines Matching refs:it

35     for (auto it = method_infos, end = method_infos + count; it != end; ++it) {
36 MirMethodLoweringInfo unresolved(it->MethodIndex(), it->GetInvokeType());
37 if (it->target_dex_file_ != nullptr) {
38 unresolved.target_dex_file_ = it->target_dex_file_;
39 unresolved.target_method_idx_ = it->target_method_idx_;
41 DCHECK_EQ(memcmp(&unresolved, &*it, sizeof(*it)), 0);
45 // We're going to resolve methods and check access in a tight loop. It's better to hold
57 for (auto it = method_infos, end = method_infos + count; it != end; ++it) {
59 MethodReference devirt_ref(it->target_dex_file_, it->target_method_idx_);
60 MethodReference* devirt_target = (it->target_dex_file_ != nullptr) ? &devirt_ref : nullptr;
61 it->target_dex_file_ = mUnit->GetDexFile();
62 it->target_method_idx_ = it->MethodIndex();
64 InvokeType invoke_type = it->GetInvokeType();
66 compiler_driver->ResolveMethod(soa, dex_cache, class_loader, mUnit, it->MethodIndex(),
72 &it->declaring_dex_file_, &it->declaring_class_idx_, &it->declaring_method_idx_);
73 it->vtable_idx_ = compiler_driver->GetResolvedMethodVTableIndex(resolved_method, invoke_type);
75 MethodReference target_method(mUnit->GetDexFile(), it->MethodIndex());
78 &target_method, devirt_target, &it->direct_code_, &it->direct_method_);
81 uint16_t other_flags = it->flags_ &
83 it->flags_ = other_flags |
87 it->target_dex_file_ = target_method.dex_file;
88 it->target_method_idx_ = target_method.dex_method_index;
89 it->stats_flags_ = fast_path_flags;