Class JSUnsignedRightShiftNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.JavaScriptNode
com.oracle.truffle.js.nodes.binary.JSBinaryNode
com.oracle.truffle.js.nodes.binary.JSUnsignedRightShiftNode
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
11.7.3 The Unsigned Right Shift Operator (>>>).
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenNested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode -
Field Summary
Fields inherited from class JSBinaryNode
leftNode, rightNodeFields inherited from class JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSUnsignedRightShiftNode(JavaScriptNode left, JavaScriptNode right) -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaScriptNodecopyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) static JavaScriptNodecreate(JavaScriptNode left, JavaScriptNode right) protected Numberprotected NumberdoDouble(double a, int b, JSToUInt32Node lvalToUint32Node, com.oracle.truffle.api.profiles.InlinedConditionProfile returnType) protected doubledoDoubleDouble(double a, double b, JSToUInt32Node lvalToUint32Node, JSToUInt32Node rvalToUint32Node) protected doubledoDoubleZero(double a, int b, JSToUInt32Node lvalToUint32Node) protected static NumberdoGeneric(Object lval, Object rval, com.oracle.truffle.api.nodes.Node node, JSToNumericNode lvalToNumericNode, JSToNumericNode rvalToNumericNode, JSUnsignedRightShiftNode innerShiftNode, com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes) protected NumberdoIntDouble(int a, double b, JSToUInt32Node lvalToUint32Node, JSToUInt32Node rvalToUint32Node, com.oracle.truffle.api.profiles.InlinedConditionProfile returnType) protected intdoInteger(int a, int b) protected intdoIntegerFast(int a, int b) protected intdoIntegerNegative(int a, int b) protected ObjectdoOverloaded(Object a, Object b, JSOverloadedBinaryNode overloadedOperatorNode) abstract Objectprotected final NumberexecuteNumber(Object a, Object b) protected com.oracle.truffle.api.strings.TruffleStringprotected static booleanprotected static booleanrvalZero(int b) Methods inherited from class JSBinaryNode
ensureBothSameNumericType, expressionToString, getLeft, getNodeObject, getRight, hasTag, largerThan2e32Methods inherited from class JavaScriptNode
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeVoid, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsMethods inherited from class JavaScriptBaseNode
getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplaceMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
createProbe, findNearestNodeAt, findNearestNodeAt, findProbe, materializeInstrumentableNodes
-
Constructor Details
-
JSUnsignedRightShiftNode
-
-
Method Details
-
create
-
executeNumber
-
execute
-
rvalZero
protected static boolean rvalZero(int b) -
doIntegerFast
protected int doIntegerFast(int a, int b) -
doInteger
protected int doInteger(int a, int b) -
doIntegerNegative
protected int doIntegerNegative(int a, int b) -
doDoubleZero
-
doDouble
protected Number doDouble(double a, int b, JSToUInt32Node lvalToUint32Node, com.oracle.truffle.api.profiles.InlinedConditionProfile returnType) -
doIntDouble
protected Number doIntDouble(int a, double b, JSToUInt32Node lvalToUint32Node, JSToUInt32Node rvalToUint32Node, com.oracle.truffle.api.profiles.InlinedConditionProfile returnType) -
doDoubleDouble
protected double doDoubleDouble(double a, double b, JSToUInt32Node lvalToUint32Node, JSToUInt32Node rvalToUint32Node) -
doBigInt
-
doOverloaded
-
getOverloadedOperatorName
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName() -
doGeneric
protected static Number doGeneric(Object lval, Object rval, com.oracle.truffle.api.nodes.Node node, JSToNumericNode lvalToNumericNode, JSToNumericNode rvalToNumericNode, JSUnsignedRightShiftNode innerShiftNode, com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes) -
isHandled
-
copyUninitialized
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) - Overrides:
copyUninitializedin classJavaScriptNode
-