Search in sources :

Example 1 with UnreachableNode

use of com.oracle.svm.core.graal.nodes.UnreachableNode in project graal by oracle.

the class JNICallTrampolineMethod method buildGraph.

@Override
public StructuredGraph buildGraph(DebugContext debug, ResolvedJavaMethod method, HostedProviders providers, Purpose purpose) {
    HostedGraphKit kit = new JNIGraphKit(debug, providers, method);
    kit.append(new UnreachableNode());
    kit.append(new DeadEndNode());
    assert kit.getGraph().verify();
    return kit.getGraph();
}
Also used : UnreachableNode(com.oracle.svm.core.graal.nodes.UnreachableNode) HostedGraphKit(com.oracle.svm.hosted.phases.HostedGraphKit) DeadEndNode(com.oracle.svm.core.graal.nodes.DeadEndNode)

Aggregations

DeadEndNode (com.oracle.svm.core.graal.nodes.DeadEndNode)1 UnreachableNode (com.oracle.svm.core.graal.nodes.UnreachableNode)1 HostedGraphKit (com.oracle.svm.hosted.phases.HostedGraphKit)1