Package org.jruby.ext.ffi.jffi
Class FastIntMethodGenerator
java.lang.Object
org.jruby.ext.ffi.jffi.AbstractNumericMethodGenerator
org.jruby.ext.ffi.jffi.FastIntMethodGenerator
- All Implemented Interfaces:
JITMethodGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final Class(package private) StringgetInvokerMethodName(JITSignature signature) (package private) StringgetInvokerSignature(int parameterCount) (package private) static final int(package private) static booleanisFastIntParameter(com.kenai.jffi.Platform platform, NativeType type) (package private) static booleanisFastIntResult(com.kenai.jffi.Platform platform, NativeType type) private static booleanisFastIntType(com.kenai.jffi.Platform platform, NativeType type) booleanisSupported(JITSignature signature) Methods inherited from class org.jruby.ext.ffi.jffi.AbstractNumericMethodGenerator
buildSignatures, generate, generate, isPrimitiveInt, narrow, widen
-
Field Details
-
MAX_PARAMETERS
private static final int MAX_PARAMETERS -
signatures
-
methodNames
-
-
Constructor Details
-
FastIntMethodGenerator
FastIntMethodGenerator()
-
-
Method Details
-
getInvokerMethodName
- Specified by:
getInvokerMethodNamein classAbstractNumericMethodGenerator
-
getInvokerSignature
- Specified by:
getInvokerSignaturein classAbstractNumericMethodGenerator
-
getInvokerIntType
- Specified by:
getInvokerIntTypein classAbstractNumericMethodGenerator
-
isSupported
-
getMaximumFastIntParameters
static final int getMaximumFastIntParameters() -
isFastIntType
-
isFastIntResult
-
isFastIntParameter
-