From 05289b548a8d5faccb9a7dbf35e52b880a10a89c Mon Sep 17 00:00:00 2001 From: LoveSy Date: Mon, 12 Aug 2024 00:21:53 +0800 Subject: [PATCH] Fix IsBackup --- lsplant/src/main/jni/common.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsplant/src/main/jni/common.cxx b/lsplant/src/main/jni/common.cxx index fe2f21f..15766ba 100644 --- a/lsplant/src/main/jni/common.cxx +++ b/lsplant/src/main/jni/common.cxx @@ -143,7 +143,7 @@ export { hooked_methods_.if_contains(art_method, [&backup](const auto &it) { if (!it.second.first) backup = it.second.second; }); - return nullptr; + return backup; } inline bool IsDeoptimized(art::ArtMethod * art_method) {