File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ const kAccSkipAccessChecks = 0x00080000;
30
30
const kAccSingleImplementation = 0x08000000 ;
31
31
const kAccNterpEntryPointFastPathFlag = 0x00100000 ;
32
32
const kAccNterpInvokeFastPathFlag = 0x00200000 ;
33
+ const kAccCompileDontBother = 0x01000000 ;
33
34
const kAccPublicApi = 0x10000000 ;
34
35
const kAccXposedHookedMethod = 0x10000000 ;
35
36
@@ -3330,7 +3331,7 @@ class ArtMethodMangler {
3330
3331
3331
3332
patchArtMethod ( replacementMethodId , {
3332
3333
jniCode : impl ,
3333
- accessFlags : ( ( originalFlags & ~ ( kAccCriticalNative | kAccFastNative | kAccNterpEntryPointFastPathFlag ) ) | kAccNative ) >>> 0 ,
3334
+ accessFlags : ( ( originalFlags & ~ ( kAccCriticalNative | kAccFastNative | kAccNterpEntryPointFastPathFlag ) ) | kAccNative | kAccCompileDontBother ) >>> 0 ,
3334
3335
quickCode : api . artClassLinker . quickGenericJniTrampoline ,
3335
3336
interpreterCode : api . artInterpreterToCompiledCodeBridge
3336
3337
} , vm ) ;
@@ -3343,7 +3344,7 @@ class ArtMethodMangler {
3343
3344
}
3344
3345
3345
3346
patchArtMethod ( hookedMethodId , {
3346
- accessFlags : ( originalFlags & ~ ( hookedMethodRemovedFlags ) ) >>> 0
3347
+ accessFlags : ( ( originalFlags & ~ ( hookedMethodRemovedFlags ) ) | kAccCompileDontBother ) >>> 0
3347
3348
} , vm ) ;
3348
3349
3349
3350
const quickCode = this . originalMethod . quickCode ;
You can’t perform that action at this time.
0 commit comments