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