Package org.jruby.ext.ffi.jffi
Class FastNumericMethodGenerator
java.lang.Object
org.jruby.ext.ffi.jffi.AbstractNumericMethodGenerator
org.jruby.ext.ffi.jffi.FastNumericMethodGenerator
- 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 booleanisFastNumericParameter(com.kenai.jffi.Platform platform, NativeType type) (package private) static booleanisFastNumericResult(com.kenai.jffi.Platform platform, NativeType type) private static booleanisFastNumericType(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
-
FastNumericMethodGenerator
FastNumericMethodGenerator()
-
-
Method Details
-
getInvokerMethodName
- Specified by:
getInvokerMethodNamein classAbstractNumericMethodGenerator
-
getInvokerSignature
- Specified by:
getInvokerSignaturein classAbstractNumericMethodGenerator
-
getInvokerIntType
- Specified by:
getInvokerIntTypein classAbstractNumericMethodGenerator
-
isSupported
-
getMaximumFastNumericParameters
static final int getMaximumFastNumericParameters() -
isFastNumericType
-
isFastNumericResult
-
isFastNumericParameter
-