All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.graal.python.lib.PyArgCheckPositionalNodeGen Maven / Gradle / Ivy

There is a newer version: 24.1.1
Show newest version
// CheckStyle: start generated
package com.oracle.graal.python.lib;

import com.oracle.graal.python.nodes.PRaiseNode.Lazy;
import com.oracle.graal.python.nodes.PRaiseNodeGen.LazyNodeGen;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.dsl.InlineSupport;
import com.oracle.truffle.api.dsl.NeverDefault;
import com.oracle.truffle.api.dsl.InlineSupport.InlineTarget;
import com.oracle.truffle.api.dsl.InlineSupport.ReferenceField;
import com.oracle.truffle.api.dsl.InlineSupport.RequiredField;
import com.oracle.truffle.api.dsl.InlineSupport.StateField;
import com.oracle.truffle.api.nodes.DenyReplace;
import com.oracle.truffle.api.nodes.Node;
import com.oracle.truffle.api.strings.TruffleString;

/**
 * Debug Info: 
 *   Specialization {@link PyArgCheckPositionalNode#doGeneric}
 *     Activation probability: 1.00000
 *     With/without class size: 28/5 bytes
 * 
*/ @GeneratedBy(PyArgCheckPositionalNode.class) @SuppressWarnings("javadoc") public final class PyArgCheckPositionalNodeGen { /** * Required Fields:
    *
  • {@link Inlined#state_0_} *
  • {@link Inlined#raiseNode__field1_} *
*/ @NeverDefault public static PyArgCheckPositionalNode inline(@RequiredField(bits = 1, value = StateField.class)@RequiredField(type = Node.class, value = ReferenceField.class) InlineTarget target) { return new PyArgCheckPositionalNodeGen.Inlined(target); } @GeneratedBy(PyArgCheckPositionalNode.class) @DenyReplace private static final class Inlined extends PyArgCheckPositionalNode { /** * State Info:
         *   0: InlinedCache
         *        Specialization: {@link PyArgCheckPositionalNode#doGeneric}
         *        Parameter: {@link Lazy} raiseNode
         *        Inline method: {@link LazyNodeGen#inline}
         * 
*/ private final StateField state_0_; private final ReferenceField raiseNode__field1_; /** * Source Info:
         *   Specialization: {@link PyArgCheckPositionalNode#doGeneric}
         *   Parameter: {@link Lazy} raiseNode
         *   Inline method: {@link LazyNodeGen#inline}
*/ private final Lazy raiseNode_; @SuppressWarnings("unchecked") private Inlined(InlineTarget target) { assert target.getTargetClass().isAssignableFrom(PyArgCheckPositionalNode.class); this.state_0_ = target.getState(0, 1); this.raiseNode__field1_ = target.getReference(1, Node.class); this.raiseNode_ = LazyNodeGen.inline(InlineTarget.create(Lazy.class, state_0_.subUpdater(0, 1), raiseNode__field1_)); } @Override public boolean execute(Node arg0Value, TruffleString arg1Value, int arg2Value, int arg3Value, int arg4Value) { assert InlineSupport.validate(arg0Value, this.state_0_, this.raiseNode__field1_); return PyArgCheckPositionalNode.doGeneric(arg0Value, arg1Value, arg2Value, arg3Value, arg4Value, this.raiseNode_); } @Override public boolean isAdoptable() { return false; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy