com.oracle.truffle.js.nodes.unary.IsIdenticalUndefinedNodeGen Maven / Gradle / Ivy
// CheckStyle: start generated
package com.oracle.truffle.js.nodes.unary;
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.js.nodes.JavaScriptNode;
/**
* Debug Info:
* Specialization {@link IsIdenticalUndefinedNode#doObject}
* Activation probability: 1.00000
* With/without class size: 16/0 bytes
*
*/
@GeneratedBy(IsIdenticalUndefinedNode.class)
@SuppressWarnings("javadoc")
public final class IsIdenticalUndefinedNodeGen extends IsIdenticalUndefinedNode {
private IsIdenticalUndefinedNodeGen(JavaScriptNode operand, boolean leftConstant) {
super(operand, leftConstant);
}
@Override
public Object execute(VirtualFrame frameValue) {
Object operandNodeValue_ = super.operandNode.execute(frameValue);
return doObject(operandNodeValue_);
}
@Override
public boolean executeBoolean(VirtualFrame frameValue) {
Object operandNodeValue_ = super.operandNode.execute(frameValue);
return doObject(operandNodeValue_);
}
@Override
public void executeVoid(VirtualFrame frameValue) {
executeBoolean(frameValue);
return;
}
@NeverDefault
public static IsIdenticalUndefinedNode create(JavaScriptNode operand, boolean leftConstant) {
return new IsIdenticalUndefinedNodeGen(operand, leftConstant);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy