From 0d60484cbb0c70acc60965b015e94c2e9cb9f1e7 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Mon, 16 Apr 2012 14:50:24 -0700 Subject: Support for a set of verifier failures. Change-Id: Idd0f8944bde7ee27271c3f68a2141b5a5265c382 --- src/class_linker.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/class_linker.h') diff --git a/src/class_linker.h b/src/class_linker.h index a8fa01d..1925a9d 100644 --- a/src/class_linker.h +++ b/src/class_linker.h @@ -194,19 +194,6 @@ class ClassLinker { const ClassLoader* class_loader, bool is_static); - Field* ResolveFieldJLS(uint32_t field_idx, const Method* referrer) { - Field* resolved_field = - referrer->GetDeclaringClass()->GetDexCache()->GetResolvedField(field_idx); - if (UNLIKELY(resolved_field == NULL)) { - Class* declaring_class = referrer->GetDeclaringClass(); - DexCache* dex_cache = declaring_class->GetDexCache(); - const ClassLoader* class_loader = declaring_class->GetClassLoader(); - const DexFile& dex_file = FindDexFile(dex_cache); - resolved_field = ResolveFieldJLS(dex_file, field_idx, dex_cache, class_loader); - } - return resolved_field; - } - // Resolve a field with a given ID from the DexFile, storing the // result in DexCache. The ClassLinker and ClassLoader are used as // in ResolveType. No is_static argument is provided so that Java -- cgit v1.1