Top Description Fields Constructors Methods
jnr.ffi.provider.jffi

pack-priv final Class X86_64StubCompiler

extends AbstractX86StubCompiler
Class Inheritance
Imports
com.kenai.jffi.Function, jnr.ffi.CallingConvention, jnr.ffi.provider.ParameterType, .ResultType, jnr.x86asm.Assembler, .REG, .Register

Compilers method trampoline stubs for x86_64

Field Summary

Modifier and TypeField and Description
pack-priv static final Register[]
pack-priv static final Register[]
pack-priv static final Register[]
pack-priv static final Register[]
pack-priv static final Register[]
pack-priv static final Register[]
Inherited from jnr.ffi.provider.jffi.AbstractX86StubCompiler:
DEBUGPAGE_HOLDER_UPDATERstubs

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
canCompile(ResultType returnType, ParameterType[] parameterTypes, CallingConvention convention)

Implements abstract jnr.ffi.provider.jffi.StubCompiler.canCompile.

pack-priv final void
compile(Function function, String name, ResultType resultType, ParameterType[] parameterTypes, Class<T> resultClass, Class<T>[] parameterClasses, CallingConvention convention, boolean saveErrno)

Implements abstract jnr.ffi.provider.jffi.StubCompiler.compile.

pack-priv static int
fCount(ParameterType[] parameterTypes)

pack-priv static int
iCount(ParameterType[] parameterTypes)

Inherited from jnr.ffi.provider.jffi.AbstractX86StubCompiler:
alignalignattachgetRuntime

Field Detail

dstRegisters32back to summary
pack-priv static final Register[] dstRegisters32
dstRegisters64back to summary
pack-priv static final Register[] dstRegisters64
srcRegisters16back to summary
pack-priv static final Register[] srcRegisters16
srcRegisters32back to summary
pack-priv static final Register[] srcRegisters32
srcRegisters64back to summary
pack-priv static final Register[] srcRegisters64
srcRegisters8back to summary
pack-priv static final Register[] srcRegisters8

Constructor Detail

X86_64StubCompilerback to summary
pack-priv X86_64StubCompiler(Runtime runtime)

Method Detail

canCompileback to summary
pack-priv boolean canCompile(ResultType returnType, ParameterType[] parameterTypes, CallingConvention convention)

Implements abstract jnr.ffi.provider.jffi.StubCompiler.canCompile.

compileback to summary
pack-priv final void compile(Function function, String name, ResultType resultType, ParameterType[] parameterTypes, Class<T> resultClass, Class<T>[] parameterClasses, CallingConvention convention, boolean saveErrno)

Implements abstract jnr.ffi.provider.jffi.StubCompiler.compile.

Annotations
@Override
fCountback to summary
pack-priv static int fCount(ParameterType[] parameterTypes)
iCountback to summary
pack-priv static int iCount(ParameterType[] parameterTypes)