Lines Matching refs:mUnit
33 inline mirror::DexCache* CompilerDriver::GetDexCache(const DexCompilationUnit* mUnit) { in GetDexCache() argument
34 return mUnit->GetClassLinker()->FindDexCache(Thread::Current(), *mUnit->GetDexFile(), false); 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()
258 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in ResolveMethod() argument
260 DCHECK_EQ(class_loader.Get(), soa.Decode<mirror::ClassLoader*>(mUnit->GetClassLoader())); in ResolveMethod()
263 ? mUnit->GetClassLinker()->ResolveMethod<ClassLinker::kForceICCECheck>( in ResolveMethod()
265 : mUnit->GetClassLinker()->ResolveMethod<ClassLinker::kNoICCECheckForCache>( in ResolveMethod()
297 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in IsFastInvoke() argument
319 Handle<mirror::Class> methods_class(hs.NewHandle(mUnit->GetClassLinker()->ResolveType( in IsFastInvoke()
333 const bool same_dex_file = target_method->dex_file == mUnit->GetDexFile(); in IsFastInvoke()
362 CHECK_EQ(target_method->dex_file, mUnit->GetDexFile()); in IsFastInvoke()
363 DCHECK_EQ(dex_cache.Get(), mUnit->GetClassLinker()->FindDexCache( in IsFastInvoke()
364 soa.Self(), *mUnit->GetDexFile(), false)); in IsFastInvoke()
387 ClassLinker* class_linker = mUnit->GetClassLinker(); in IsFastInvoke()
388 if (LIKELY(devirt_target->dex_file == mUnit->GetDexFile())) { in IsFastInvoke()