Remove Method's dex_cache_resolved_fields_
We no longer generate code to access dex_cache_resolved_fields_ and the
slow paths can access the dex cache with extra indirections. Removing
the field saves image space.
This change also requires Change I2e16e99d
Change-Id: Ic64df15f3982a2655942d7cd5157eb497f70af7d
diff --git a/src/runtime_support.cc b/src/runtime_support.cc
index 668191b..f9f3d07 100644
--- a/src/runtime_support.cc
+++ b/src/runtime_support.cc
@@ -447,7 +447,7 @@
// Fast path field resolution that can't throw exceptions
static Field* FindFieldFast(uint32_t field_idx, const Method* referrer, bool is_primitive,
size_t expected_size) {
- Field* resolved_field = referrer->GetDexCacheResolvedFields()->Get(field_idx);
+ Field* resolved_field = referrer->GetDeclaringClass()->GetDexCache()->GetResolvedField(field_idx);
if (UNLIKELY(resolved_field == NULL)) {
return NULL;
}