Class ARM_64StubCompiler
java.lang.Object
jnr.ffi.provider.jffi.StubCompiler
jnr.ffi.provider.jffi.AbstractA64StubCompiler
jnr.ffi.provider.jffi.ARM_64StubCompiler
Compilers method trampoline stubs for x86_64
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractA64StubCompiler
AbstractA64StubCompiler.PageHolder, AbstractA64StubCompiler.StubNested classes/interfaces inherited from class StubCompiler
StubCompiler.DummyStubCompiler -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final jnr.a64asm.Register[](package private) static final jnr.a64asm.Register[](package private) static final jnr.a64asm.Register[](package private) static final jnr.a64asm.Register[]Fields inherited from class AbstractA64StubCompiler
DEBUG, PAGE_HOLDER_UPDATER, stubs_A64Fields inherited from class StubCompiler
errnoFunctionAddress, hasAssembler, hasPageManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleancanCompile(ResultType returnType, ParameterType[] parameterTypes, CallingConvention convention) (package private) final voidcompile(com.kenai.jffi.Function function, String name, ResultType resultType, ParameterType[] parameterTypes, Class resultClass, Class[] parameterClasses, CallingConvention convention, boolean saveErrno) (package private) static intfCount(ParameterType[] parameterTypes) (package private) static intiCount(ParameterType[] parameterTypes) Methods inherited from class AbstractA64StubCompiler
align, align, attach, getRuntimeMethods inherited from class StubCompiler
newCompiler
-
Field Details
-
srcRegisters32
static final jnr.a64asm.Register[] srcRegisters32 -
srcRegisters64
static final jnr.a64asm.Register[] srcRegisters64 -
dstRegisters32
static final jnr.a64asm.Register[] dstRegisters32 -
dstRegisters64
static final jnr.a64asm.Register[] dstRegisters64
-
-
Constructor Details
-
ARM_64StubCompiler
ARM_64StubCompiler(Runtime runtime)
-
-
Method Details
-
canCompile
boolean canCompile(ResultType returnType, ParameterType[] parameterTypes, CallingConvention convention) - Specified by:
canCompilein classStubCompiler
-
compile
final void compile(com.kenai.jffi.Function function, String name, ResultType resultType, ParameterType[] parameterTypes, Class resultClass, Class[] parameterClasses, CallingConvention convention, boolean saveErrno) - Specified by:
compilein classStubCompiler
-
fCount
-
iCount
-