diff --git a/edxp-core/src/main/cpp/main/include/art/runtime/art_method.h b/edxp-core/src/main/cpp/main/include/art/runtime/art_method.h index fe828236..49e5a146 100644 --- a/edxp-core/src/main/cpp/main/include/art/runtime/art_method.h +++ b/edxp-core/src/main/cpp/main/include/art/runtime/art_method.h @@ -28,7 +28,7 @@ namespace art { CREATE_HOOK_STUB_ENTRIES(uint32_t, ToDexPc, void** frame, const uintptr_t pc, bool abort_on_failure) { void* method = *frame; - if (LIKELY(edxp::isHooked(method))) { + if (UNLIKELY(edxp::isHooked(method))) { LOGD("art_method::ToDexPc: Method %p is hooked, return kDexNoIndex", method); return 0xFFFFFFFF; // kDexNoIndex }