From 59931f4f6e2e171b95c980359a11fe858faa194d Mon Sep 17 00:00:00 2001 From: LoveSy Date: Thu, 12 Aug 2021 05:05:58 +0800 Subject: [PATCH] [core] Fix stupid bug (#889) --- core/src/main/cpp/main/include/art/runtime/class_linker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/cpp/main/include/art/runtime/class_linker.h b/core/src/main/cpp/main/include/art/runtime/class_linker.h index 75e68726..405ceb77 100644 --- a/core/src/main/cpp/main/include/art/runtime/class_linker.h +++ b/core/src/main/cpp/main/include/art/runtime/class_linker.h @@ -93,7 +93,7 @@ namespace art { bool, ShouldUseInterpreterEntrypoint, (void * art_method, const void *quick_code), { if (quick_code != nullptr && - lspd::isHooked(art_method) || lspd::IsMethodPending(art_method)) [[unlikely]] { + (lspd::isHooked(art_method) || lspd::IsMethodPending(art_method))) [[unlikely]] { return false; } return backup(art_method, quick_code);