File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ const kAccSkipAccessChecks = 0x00080000;
3030const kAccSingleImplementation = 0x08000000 ;
3131const kAccNterpEntryPointFastPathFlag = 0x00100000 ;
3232const kAccNterpInvokeFastPathFlag = 0x00200000 ;
33+ const kAccCompileDontBother = 0x01000000 ;
3334const kAccPublicApi = 0x10000000 ;
3435const kAccXposedHookedMethod = 0x10000000 ;
3536
@@ -3330,7 +3331,7 @@ class ArtMethodMangler {
33303331
33313332 patchArtMethod ( replacementMethodId , {
33323333 jniCode : impl ,
3333- accessFlags : ( ( originalFlags & ~ ( kAccCriticalNative | kAccFastNative | kAccNterpEntryPointFastPathFlag ) ) | kAccNative ) >>> 0 ,
3334+ accessFlags : ( ( originalFlags & ~ ( kAccCriticalNative | kAccFastNative | kAccNterpEntryPointFastPathFlag ) ) | kAccNative | kAccCompileDontBother ) >>> 0 ,
33343335 quickCode : api . artClassLinker . quickGenericJniTrampoline ,
33353336 interpreterCode : api . artInterpreterToCompiledCodeBridge
33363337 } , vm ) ;
@@ -3343,7 +3344,7 @@ class ArtMethodMangler {
33433344 }
33443345
33453346 patchArtMethod ( hookedMethodId , {
3346- accessFlags : ( originalFlags & ~ ( hookedMethodRemovedFlags ) ) >>> 0
3347+ accessFlags : ( ( originalFlags & ~ ( hookedMethodRemovedFlags ) ) | kAccCompileDontBother ) >>> 0
33473348 } , vm ) ;
33483349
33493350 const quickCode = this . originalMethod . quickCode ;
You can’t perform that action at this time.
0 commit comments