summaryrefslogtreecommitdiff
path: root/runtime/method_helper.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2014-12-03 00:04:43 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-12-03 00:04:43 +0000
commit384f729a465d0ab3a76faa7ec8fa05ced82b4a85 (patch)
tree4e36277e305cb9ec7d195ef1c2386615f071ab89 /runtime/method_helper.cc
parentc1f5f73d4790d8d72c6bebd8e31cc7f5a4bd0f84 (diff)
parenta0485607a4a4d8c683a9849f6f20902c4e1da7a4 (diff)
Merge "Move GetClassFromTypeIdx to ArtMethod."
Diffstat (limited to 'runtime/method_helper.cc')
-rw-r--r--runtime/method_helper.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/method_helper.cc b/runtime/method_helper.cc
index 683d1bd46d..9ca29ce07c 100644
--- a/runtime/method_helper.cc
+++ b/runtime/method_helper.cc
@@ -48,9 +48,10 @@ bool MethodHelperT<HandleKind>::HasSameSignatureWithDifferentClassLoaders(Thread
return false;
}
for (uint32_t i = 0; i < num_types; ++i) {
- mirror::Class* param_type = GetClassFromTypeIdx(types->GetTypeItem(i).type_idx_);
+ mirror::Class* param_type =
+ method_->GetClassFromTypeIndex(types->GetTypeItem(i).type_idx_, true);
mirror::Class* other_param_type =
- other->GetClassFromTypeIdx(other_types->GetTypeItem(i).type_idx_);
+ other->method_->GetClassFromTypeIndex(other_types->GetTypeItem(i).type_idx_, true);
if (UNLIKELY(param_type != other_param_type)) {
return false;
}