Update entrypoint_utils check method -> other_method
We updated the code in entrypoint_utils but forgot to update a
check in that same file.
Bug: 204767291, 154012332
Change-Id: Ie5f4328a1fa294efa2e48d287ad8fa7a5f99c812
diff --git a/runtime/entrypoints/entrypoint_utils-inl.h b/runtime/entrypoints/entrypoint_utils-inl.h
index 5b931a1..18e6c49 100644
--- a/runtime/entrypoints/entrypoint_utils-inl.h
+++ b/runtime/entrypoints/entrypoint_utils-inl.h
@@ -101,7 +101,7 @@
UNREACHABLE();
}
DCHECK(!inlined_method->IsRuntimeMethod());
- if (UNLIKELY(inlined_method->GetDexFile() != method->GetDexFile() &&
+ if (UNLIKELY(inlined_method->GetDexFile() != outer_method->GetDexFile() &&
!method_info.HasDexFileIndex())) {
// TODO: We could permit inlining within a multi-dex oat file and the boot image,
// even going back from boot image methods to the same oat file. However, this is