final class X86_64StubCompiler extends AbstractX86StubCompiler
AbstractX86StubCompiler.PageHolder, AbstractX86StubCompiler.Stub
StubCompiler.DummyStubCompiler
Modifier and Type | Field and Description |
---|---|
(package private) static jnr.x86asm.Register[] |
dstRegisters32 |
(package private) static jnr.x86asm.Register[] |
dstRegisters64 |
(package private) static jnr.x86asm.Register[] |
srcRegisters16 |
(package private) static jnr.x86asm.Register[] |
srcRegisters32 |
(package private) static jnr.x86asm.Register[] |
srcRegisters64 |
(package private) static jnr.x86asm.Register[] |
srcRegisters8 |
DEBUG, PAGE_HOLDER_UPDATER, stubs
errnoFunctionAddress, hasAssembler, hasPageManager
Constructor and Description |
---|
X86_64StubCompiler(Runtime runtime) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
canCompile(ResultType returnType,
ParameterType[] parameterTypes,
CallingConvention convention) |
(package private) 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) |
(package private) static int |
fCount(ParameterType[] parameterTypes) |
(package private) static int |
iCount(ParameterType[] parameterTypes) |
align, align, attach, getRuntime
newCompiler
static final jnr.x86asm.Register[] srcRegisters8
static final jnr.x86asm.Register[] srcRegisters16
static final jnr.x86asm.Register[] srcRegisters32
static final jnr.x86asm.Register[] srcRegisters64
static final jnr.x86asm.Register[] dstRegisters32
static final jnr.x86asm.Register[] dstRegisters64
X86_64StubCompiler(Runtime runtime)
boolean canCompile(ResultType returnType, ParameterType[] parameterTypes, CallingConvention convention)
canCompile
in class StubCompiler
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)
compile
in class StubCompiler
static int fCount(ParameterType[] parameterTypes)
static int iCount(ParameterType[] parameterTypes)