mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-05 05:56:38 +08:00
fixed logic bug for re-deoptimize condition in RestoreBackup (#59)
This commit is contained in:
parent
7c732a7215
commit
439f38f48c
@ -80,7 +80,7 @@ private:
|
|||||||
auto new_trampoline = art_method->GetEntryPoint();
|
auto new_trampoline = art_method->GetEntryPoint();
|
||||||
art_method->SetEntryPoint(old_trampoline);
|
art_method->SetEntryPoint(old_trampoline);
|
||||||
if (IsDeoptimized(art_method)) {
|
if (IsDeoptimized(art_method)) {
|
||||||
if (new_trampoline != art_quick_to_interpreter_bridge ||
|
if (new_trampoline != art_quick_to_interpreter_bridge &&
|
||||||
new_trampoline != art_quick_generic_jni_trampoline) {
|
new_trampoline != art_quick_generic_jni_trampoline) {
|
||||||
LOGV("re-deoptimize for %p", art_method);
|
LOGV("re-deoptimize for %p", art_method);
|
||||||
SetEntryPointsToInterpreter(art_method);
|
SetEntryPointsToInterpreter(art_method);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user