summaryrefslogtreecommitdiff
path: root/compiler/optimizing/inliner.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-06-29 08:40:14 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-06-29 08:40:14 +0000
commite36389f20c83083c0aaba2dcac0888951e55cae1 (patch)
tree3fe74b637f8dc90e3cbc8ad3949f3f340236537f /compiler/optimizing/inliner.cc
parentabf64415cf99a9a7ee048ae26c76f7bbe972a6b9 (diff)
parentd4ceecc85a5aab2ec23ea1bd010692ba8c8aaa0c (diff)
Merge "Revert "Refactor GetIMTIndex""
Diffstat (limited to 'compiler/optimizing/inliner.cc')
-rw-r--r--compiler/optimizing/inliner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index be4ea200a9..8f2db3d1d3 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -657,7 +657,7 @@ bool HInliner::TryInlinePolymorphicCallToSameTarget(HInvoke* invoke_instruction,
ArtMethod* new_method = nullptr;
if (invoke_instruction->IsInvokeInterface()) {
new_method = ic.GetTypeAt(i)->GetImt(pointer_size)->Get(
- method_index, pointer_size);
+ method_index % ImTable::kSize, pointer_size);
if (new_method->IsRuntimeMethod()) {
// Bail out as soon as we see a conflict trampoline in one of the target's
// interface table.