Search in sources :

Example 1 with AMD64BreakpointOp

use of org.graalvm.compiler.lir.amd64.AMD64BreakpointOp in project graal by oracle.

the class AMD64HotSpotNodeLIRBuilder method visitBreakpointNode.

@Override
public void visitBreakpointNode(BreakpointNode node) {
    JavaType[] sig = new JavaType[node.arguments().size()];
    for (int i = 0; i < sig.length; i++) {
        sig[i] = node.arguments().get(i).stamp(NodeView.DEFAULT).javaType(gen.getMetaAccess());
    }
    Value[] parameters = visitInvokeArguments(gen.getRegisterConfig().getCallingConvention(HotSpotCallingConventionType.JavaCall, null, sig, gen), node.arguments());
    append(new AMD64BreakpointOp(parameters));
}
Also used : AMD64BreakpointOp(org.graalvm.compiler.lir.amd64.AMD64BreakpointOp) JavaType(jdk.vm.ci.meta.JavaType) RegisterValue(jdk.vm.ci.code.RegisterValue) Value(jdk.vm.ci.meta.Value) AllocatableValue(jdk.vm.ci.meta.AllocatableValue)

Aggregations

RegisterValue (jdk.vm.ci.code.RegisterValue)1 AllocatableValue (jdk.vm.ci.meta.AllocatableValue)1 JavaType (jdk.vm.ci.meta.JavaType)1 Value (jdk.vm.ci.meta.Value)1 AMD64BreakpointOp (org.graalvm.compiler.lir.amd64.AMD64BreakpointOp)1