[core] Fix stupid bug (#889)

This commit is contained in:
LoveSy 2021-08-12 05:05:58 +08:00 committed by GitHub
parent a5febe8f86
commit 59931f4f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);