Class X86_32StubCompiler
java.lang.Object
jnr.ffi.provider.jffi.StubCompiler
jnr.ffi.provider.jffi.AbstractX86StubCompiler
jnr.ffi.provider.jffi.X86_32StubCompiler
Stub compiler for i386 unix
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractX86StubCompiler
AbstractX86StubCompiler.PageHolder, AbstractX86StubCompiler.StubNested classes/interfaces inherited from class StubCompiler
StubCompiler.DummyStubCompiler -
Field Summary
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) voidcompile(com.kenai.jffi.Function function, String name, ResultType resultType, ParameterType[] parameterTypes, Class resultClass, Class[] parameterClasses, CallingConvention convention, boolean saveErrno) (package private) static int(package private) static intparameterSize(ParameterType parameterType) (package private) static jnr.x86asm.Memptr(jnr.x86asm.Register base, long disp, NativeType nativeType) (package private) static intresultSize(ResultType resultType) Methods inherited from class AbstractX86StubCompiler
align, align, attach, getRuntimeMethods inherited from class StubCompiler
newCompiler
-
Constructor Details
-
X86_32StubCompiler
X86_32StubCompiler(Runtime runtime)
-
-
Method Details
-
canCompile
boolean canCompile(ResultType returnType, ParameterType[] parameterTypes, CallingConvention convention) - Specified by:
canCompilein classStubCompiler
-
compile
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
-
parameterSize
-
parameterSize
-
resultSize
-
ptr
-