summaryrefslogtreecommitdiff
path: root/runtime/method_helper-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/method_helper-inl.h')
-rw-r--r--runtime/method_helper-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/method_helper-inl.h b/runtime/method_helper-inl.h
index 4f95a28e81..3a5056adce 100644
--- a/runtime/method_helper-inl.h
+++ b/runtime/method_helper-inl.h
@@ -28,7 +28,7 @@ namespace art {
inline mirror::Class* MethodHelper::GetClassFromTypeIdx(uint16_t type_idx, bool resolve) {
mirror::ArtMethod* method = GetMethod();
- mirror::Class* type = method->GetDexCacheResolvedTypes()->Get(type_idx);
+ mirror::Class* type = method->GetDexCacheResolvedType(type_idx);
if (type == nullptr && resolve) {
type = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method);
CHECK(type != nullptr || Thread::Current()->IsExceptionPending());