diff --git a/lsplant/src/main/jni/common.cxx b/lsplant/src/main/jni/common.cxx index fe2f21ff8..15766ba20 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) {