diff options
author | Ian Rogers <irogers@google.com> | 2012-04-16 14:50:24 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2012-04-18 17:45:18 -0700 |
commit | 0d60484cbb0c70acc60965b015e94c2e9cb9f1e7 (patch) | |
tree | 2b6e289a5f507590722f66d0a157fa5b293cd78f /src/class_linker.h | |
parent | a7e6cb4efd9384ac1520976f2d620c72bb08b758 (diff) | |
download | art-0d60484cbb0c70acc60965b015e94c2e9cb9f1e7.zip art-0d60484cbb0c70acc60965b015e94c2e9cb9f1e7.tar.gz art-0d60484cbb0c70acc60965b015e94c2e9cb9f1e7.tar.bz2 |
Support for a set of verifier failures.
Change-Id: Idd0f8944bde7ee27271c3f68a2141b5a5265c382
Diffstat (limited to 'src/class_linker.h')
-rw-r--r-- | src/class_linker.h | 13 |
1 files changed, 0 insertions, 13 deletions
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 |