com.oracle.graal.python.nodes.argument.ReadVarArgsNodeGen Maven / Gradle / Ivy
// CheckStyle: start generated
package com.oracle.graal.python.nodes.argument;
import com.oracle.truffle.api.dsl.GeneratedBy;
import com.oracle.truffle.api.dsl.NeverDefault;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.nodes.NodeCost;
/**
* Debug Info:
* Specialization {@link ReadVarArgsNode#extractVariableVarargs}
* Activation probability: 1.00000
* With/without class size: 16/0 bytes
*
*/
@GeneratedBy(ReadVarArgsNode.class)
@SuppressWarnings("javadoc")
public final class ReadVarArgsNodeGen extends ReadVarArgsNode {
private ReadVarArgsNodeGen(boolean isBuiltin) {
super(isBuiltin);
}
@Override
public Object execute(VirtualFrame frameValue) {
return extractVariableVarargs(frameValue);
}
@Override
public Object[] executeObjectArray(VirtualFrame frameValue) {
return (Object[]) execute(frameValue);
}
@Override
public NodeCost getCost() {
return NodeCost.MONOMORPHIC;
}
@NeverDefault
public static ReadVarArgsNode create(boolean isBuiltin) {
return new ReadVarArgsNodeGen(isBuiltin);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy