public abstract class JSUnsignedRightShiftConstantNode extends JSUnaryNode
Modifier and Type | Field and Description |
---|---|
protected int |
rightValue |
protected int |
shiftValue |
operandNode
INTERMEDIATE_VALUE
Modifier | Constructor and Description |
---|---|
protected |
JSUnsignedRightShiftConstantNode(JavaScriptNode operand,
int shiftValue,
int rightValue) |
Modifier and Type | Method and Description |
---|---|
protected JavaScriptNode |
copyUninitialized() |
static JavaScriptNode |
create(JavaScriptNode left,
JavaScriptNode right) |
protected JSUnsignedRightShiftConstantNode |
createInner() |
protected int |
doBigInt(BigInt a) |
protected int |
doDouble(double a,
JSToUInt32Node toUInt32Node) |
protected int |
doGeneric(Object lval,
JSToNumericNode leftToNumeric,
JSUnsignedRightShiftConstantNode innerShiftNode) |
protected int |
doInteger(int a) |
protected int |
doLargeInteger(LargeInteger a) |
abstract int |
executeInt(Object a) |
String |
expressionToString() |
boolean |
hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag) |
protected static boolean |
isHandled(Object lval) |
boolean |
isResultAlwaysOfType(Class<?> clazz) |
com.oracle.truffle.api.instrumentation.InstrumentableNode |
materializeInstrumentableNodes(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
createWrapper, execute, getNodeObject, getOperand
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, execute, executeBoolean, executeByte, executeCharacter, executeDouble, executeDynamicObject, executeFloat, executeInt, executeLargeInteger, executeLong, executeObjectArray, executeString, executeTruffleObject, executeVoid, getSourceSection, hasSourceSection, isInstrumentable, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTags
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize
protected JSUnsignedRightShiftConstantNode(JavaScriptNode operand, int shiftValue, int rightValue)
public abstract int executeInt(Object a)
public static JavaScriptNode create(JavaScriptNode left, JavaScriptNode right)
public boolean hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag)
hasTag
in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
hasTag
in class JavaScriptNode
public com.oracle.truffle.api.instrumentation.InstrumentableNode materializeInstrumentableNodes(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
protected int doInteger(int a)
protected int doLargeInteger(LargeInteger a)
protected int doDouble(double a, JSToUInt32Node toUInt32Node)
protected int doBigInt(BigInt a)
protected int doGeneric(Object lval, JSToNumericNode leftToNumeric, JSUnsignedRightShiftConstantNode innerShiftNode)
protected static boolean isHandled(Object lval)
public boolean isResultAlwaysOfType(Class<?> clazz)
isResultAlwaysOfType
in class JavaScriptNode
protected JSUnsignedRightShiftConstantNode createInner()
protected JavaScriptNode copyUninitialized()
copyUninitialized
in class JavaScriptNode
public String expressionToString()
expressionToString
in class JSUnaryNode