Class X86_64StubCompiler
java.lang.Object
jnr.ffi.provider.jffi.StubCompiler
jnr.ffi.provider.jffi.AbstractX86StubCompiler
jnr.ffi.provider.jffi.X86_64StubCompiler
Compilers method trampoline stubs for x86_64
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractX86StubCompiler
AbstractX86StubCompiler.PageHolder, AbstractX86StubCompiler.StubNested classes/interfaces inherited from class StubCompiler
StubCompiler.DummyStubCompiler -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final jnr.x86asm.Register[](package private) static final jnr.x86asm.Register[](package private) static final jnr.x86asm.Register[](package private) static final jnr.x86asm.Register[](package private) static final jnr.x86asm.Register[](package private) static final jnr.x86asm.Register[]Fields inherited from class AbstractX86StubCompiler
DEBUG, PAGE_HOLDER_UPDATER, stubsFields 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 AbstractX86StubCompiler
align, align, attach, getRuntimeMethods inherited from class StubCompiler
newCompiler
-
Field Details
-
srcRegisters8
static final jnr.x86asm.Register[] srcRegisters8 -
srcRegisters16
static final jnr.x86asm.Register[] srcRegisters16 -
srcRegisters32
static final jnr.x86asm.Register[] srcRegisters32 -
srcRegisters64
static final jnr.x86asm.Register[] srcRegisters64 -
dstRegisters32
static final jnr.x86asm.Register[] dstRegisters32 -
dstRegisters64
static final jnr.x86asm.Register[] dstRegisters64
-
-
Constructor Details
-
X86_64StubCompiler
X86_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
-