Merge "Fix build aflter conflicting changes got in."
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index e3c2f5b..f39699e 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -453,7 +453,8 @@
     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)) {