Lines Matching refs:mUnit
33 inline mirror::DexCache* CompilerDriver::GetDexCache(const DexCompilationUnit* mUnit) { in GetDexCache() argument
34 return mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile()); in GetDexCache()
38 const DexCompilationUnit* mUnit) { in GetClassLoader() argument
39 return soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader()); in GetClassLoader()
45 const DexCompilationUnit* mUnit) { in ResolveClass() argument
46 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveClass()
47 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveClass()
48 mirror::Class* cls = mUnit->GetClassLinker()->ResolveType( in ResolveClass()
49 *mUnit->GetDexFile(), cls_index, dex_cache, class_loader); in ResolveClass()
60 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit) { in ResolveCompilingMethodsClass() argument
61 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveCompilingMethodsClass()
62 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveCompilingMethodsClass()
64 mUnit->GetDexFile()->GetMethodId(mUnit->GetDexMethodIndex()); in ResolveCompilingMethodsClass()
65 return ResolveClass(soa, dex_cache, class_loader, referrer_method_id.class_idx_, mUnit); in ResolveCompilingMethodsClass()
95 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in ResolveField() argument
97 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveField()
98 return ResolveFieldWithDexFile(soa, dex_cache, class_loader, mUnit->GetDexFile(), field_idx, in ResolveField()
268 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in ResolveMethod() argument
270 DCHECK_EQ(dex_cache->GetDexFile(), mUnit->GetDexFile()); in ResolveMethod()
271 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveMethod()
272 ArtMethod* resolved_method = mUnit->GetClassLinker()->ResolveMethod( in ResolveMethod()
273 *mUnit->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type); in ResolveMethod()
310 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in IsFastInvoke() argument
326 const bool same_dex_file = target_method->dex_file == mUnit->GetDexFile(); in IsFastInvoke()
342 CHECK_EQ(target_method->dex_file, mUnit->GetDexFile()); in IsFastInvoke()
343 DCHECK_EQ(dex_cache.Get(), mUnit->GetClassLinker()->FindDexCache(*mUnit->GetDexFile())); in IsFastInvoke()
366 ClassLinker* class_linker = mUnit->GetClassLinker(); in IsFastInvoke()
367 if (LIKELY(devirt_target->dex_file == mUnit->GetDexFile())) { in IsFastInvoke()