public class NativeCallStubGraphBuilder extends Object
Constructor and Description |
---|
NativeCallStubGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
static Kind |
getElementKind(Class<?> clazz) |
static StructuredGraph |
getGraph(HotSpotProviders providers,
RawNativeCallNodeFactory factory,
long functionPointer,
Class<?> returnType,
Class<?>... argumentTypes)
Creates a graph for a stub used to call a native function.
|
private static Kind |
getKind(Class<?> clazz) |
private static FixedWithNextNode |
getParameters(StructuredGraph g,
ParameterNode argumentsArray,
int numArgs,
Class<?>[] argumentTypes,
List<ValueNode> args,
HotSpotProviders providers) |
static Object |
libCall(Object argLoc,
Object unused1,
Object unused2) |
public NativeCallStubGraphBuilder()
public static StructuredGraph getGraph(HotSpotProviders providers, RawNativeCallNodeFactory factory, long functionPointer, Class<?> returnType, Class<?>... argumentTypes)
functionPointer
- a native function pointerreturnType
- the type of the return valueargumentTypes
- the types of the argumentsprivate static FixedWithNextNode getParameters(StructuredGraph g, ParameterNode argumentsArray, int numArgs, Class<?>[] argumentTypes, List<ValueNode> args, HotSpotProviders providers)
public static Kind getElementKind(Class<?> clazz)