diff options
| -rw-r--r-- | compiler/optimizing/inliner.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc index e3c2f5b37d..f39699e0a7 100644 --- a/compiler/optimizing/inliner.cc +++ b/compiler/optimizing/inliner.cc @@ -453,7 +453,8 @@ bool HInliner::TryInlinePolymorphicCall(HInvoke* invoke_instruction, HInstruction* cursor = invoke_instruction->GetPrevious(); HBasicBlock* bb_cursor = invoke_instruction->GetBlock(); - uint32_t class_index = FindClassIndexIn(ic.GetTypeAt(i), caller_dex_file); + uint32_t class_index = FindClassIndexIn( + ic.GetTypeAt(i), caller_dex_file, caller_compilation_unit_.GetDexCache()); HInstruction* return_replacement = nullptr; if (class_index == DexFile::kDexNoIndex || !TryBuildAndInline(invoke_instruction, method, &return_replacement)) { |