Home | History | Annotate | Download | only in driver

Lines Matching defs:it

238   // Indicate that a method of the given type was unresolved at compile time as it was in an
531 // can validate (checksums) and use to skip load-time verification. It is thus safe to
629 // We need to resolve for never_verify since it needs to run dex to dex to add the
768 for (auto it = image_classes_->begin(), end = image_classes_->end(); it != end;) {
769 const std::string& descriptor(*it);
775 image_classes_->erase(it++);
778 ++it;
825 // Make a copy of the handle so that we don't clobber it doing Assign.
925 // Check whether it is initialized and has a clinit. They must be kept, too.
943 // Mark it.
947 // If it is a class, add it.
955 // If it is not a DexCache, visit all references.
1072 // Get type from dex cache assuming it was populated by the verifier
1109 // Get type from dex cache assuming it was populated by the verifier.
1166 // If the class may move around, then don't embed it as a direct pointer.
1201 // Make sure we have a finished Reference class object before attempting to use it.
1737 // definitions. While the compiler will resolve what it can as it
1738 // needs it, here we try to resolve fields and methods used in class
1757 // We successfully resolved a class, should we skip it?
1772 ClassDataItemIterator it(dex_file, class_data);
1773 while (it.HasNextStaticField()) {
1775 ArtField* field = class_linker->ResolveField(dex_file, it.GetMemberIndex(),
1781 it.Next();
1785 while (it.HasNextInstanceField()) {
1786 if (it.MemberIsFinal()) {
1790 ArtField* field = class_linker->ResolveField(dex_file, it.GetMemberIndex(),
1796 it.Next();
1799 while (it.HasNextDirectMethod()) {
1801 dex_file, it.GetMemberIndex(), dex_cache, class_loader, nullptr,
1802 it.GetMethodInvokeType(class_def));
1806 it.Next();
1808 while (it.HasNextVirtualMethod()) {
1810 dex_file, it.GetMemberIndex(), dex_cache, class_loader, nullptr,
1811 it.GetMethodInvokeType(class_def));
1815 it.Next();
1817 DCHECK(!it.HasNext());
1934 // It is *very* problematic if there are verification errors in the boot classpath. For example,
1967 // Class might have failed resolution. Then don't set it to verified.
2028 // refers to a sub-class in its static/class initializer causing it to try to acquire the
2182 ClassDataItemIterator it(dex_file, class_data);
2184 while (it.HasNextStaticField()) {
2185 it.Next();
2187 while (it.HasNextInstanceField()) {
2188 it.Next();
2196 while (it.HasNextDirectMethod()) {
2197 uint32_t method_idx = it.GetMemberIndex();
2201 it.Next();
2205 driver->CompileMethod(self, it.GetMethodCodeItem(), it.GetMethodAccessFlags(),
2206 it.GetMethodInvokeType(class_def), class_def_index,
2209 it.Next();
2213 while (it.HasNextVirtualMethod()) {
2214 uint32_t method_idx = it.GetMemberIndex();
2218 it.Next();
2222 driver->CompileMethod(self, it.GetMethodCodeItem(), it.GetMethodAccessFlags(),
2223 it.GetMethodInvokeType(class_def), class_def_index,
2226 it.Next();
2228 DCHECK(!it.HasNext());
2286 // NOTE: if compiler declines to compile this method, it will return null.
2293 // it.
2346 auto it = compiled_methods_.find(method_ref);
2347 if (it != compiled_methods_.end()) {
2348 compiled_method = it->second;
2349 it);
2359 ClassTable::const_iterator it = compiled_classes_.find(ref);
2360 if (it == compiled_classes_.end()) {
2363 CHECK(it->second != nullptr);
2364 return it->second;
2369 auto it = compiled_classes_.find(ref);
2370 if (it == compiled_classes_.end() || it->second->GetStatus() != status) {
2372 if (it != compiled_classes_.end()) {
2373 CHECK_GT(status, it->second->GetStatus());
2374 delete it->second;
2395 MethodTable::const_iterator it = compiled_methods_.find(ref);
2396 if (it == compiled_methods_.end()) {
2399 CHECK(it->second != nullptr);
2400 return it->second;
2412 // classes have their methods verified). If it's not, be conservative and assume the method
2415 // TODO: When compiling the boot image it should be safe to assume that everything is verified,
2467 VLOG(compiler) << "not compiling " << method_name << " because it's not in the profile";
2484 << " because it's not part of leading " << compiler_options_->GetTopKProfileThreshold()