summaryrefslogtreecommitdiff
path: root/runtime/mirror/class.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-02-14 05:40:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-02-14 05:40:46 +0000
commitdf5492c5e1a75a399a2de7bf5d68d0b0aa33c293 (patch)
tree7e87fa894090a6b1d8cf0c0b87776bc606725fee /runtime/mirror/class.cc
parent1f38f99e3eeed84b49d54762713dec613271b809 (diff)
parent5812e20ff7cbc8efa0b8d7486ada2f58840a6ad5 (diff)
Merge "Revert^3 "Hash-based dex cache type array.""
Diffstat (limited to 'runtime/mirror/class.cc')
-rw-r--r--runtime/mirror/class.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/mirror/class.cc b/runtime/mirror/class.cc
index f7ff735fcc..1b8f3f83e7 100644
--- a/runtime/mirror/class.cc
+++ b/runtime/mirror/class.cc
@@ -951,8 +951,7 @@ ObjPtr<Class> Class::GetDirectInterface(Thread* self, ObjPtr<Class> klass, uint3
return interfaces->Get(idx);
} else {
dex::TypeIndex type_idx = klass->GetDirectInterfaceTypeIdx(idx);
- ObjPtr<Class> interface = ClassLinker::LookupResolvedType(
- type_idx, klass->GetDexCache(), klass->GetClassLoader());
+ ObjPtr<Class> interface = klass->GetDexCache()->GetResolvedType(type_idx);
return interface;
}
}