Make parseMethod fastnative
This commit is contained in:
parent
7afdf55eec
commit
39bd97adab
|
|
@ -3,8 +3,11 @@ package org.lsposed.lspd.nativebridge;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
|
import dalvik.annotation.optimization.FastNative;
|
||||||
|
|
||||||
public class DexParserBridge {
|
public class DexParserBridge {
|
||||||
public static native Object parseDex(ByteBuffer dex) throws IOException;
|
public static native Object parseDex(ByteBuffer dex) throws IOException;
|
||||||
|
|
||||||
|
@FastNative
|
||||||
public static native Object parseMethod(ByteBuffer dex, int codeOffset);
|
public static native Object parseMethod(ByteBuffer dex, int codeOffset);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue