Class JSRightShiftNode
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.JSRightShiftNode
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode,com.oracle.truffle.api.nodes.NodeInterface,Cloneable
11.7.2 The Signed 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 com.oracle.truffle.js.nodes.binary.JSBinaryNode
leftNode, rightNodeFields inherited from class com.oracle.truffle.js.nodes.JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSRightShiftNode(JavaScriptNode left, JavaScriptNode right) -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaScriptNodecopyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) static JSRightShiftNodecreate()static JavaScriptNodecreate(JavaScriptNode left, JavaScriptNode right) protected BigIntdoBigInt(BigInt a, BigInt b, JSLeftShiftNode leftShift) protected ObjectdoDouble(double a, double b, JSRightShiftNode rightShift, JSToInt32Node leftInt32, JSToUInt32Node rightUInt32) protected static ObjectdoGeneric(Object a, Object b, com.oracle.truffle.api.nodes.Node node, JSRightShiftNode rightShift, JSToNumericNode leftToNumeric, JSToNumericNode rightToNumeric, com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes) protected intdoIntDouble(int a, double b) protected intdoInteger(int a, int b) protected ObjectdoOverloaded(Object a, Object b, JSOverloadedBinaryNode overloadedOperatorNode) abstract Objectprotected com.oracle.truffle.api.strings.TruffleStringMethods inherited from class com.oracle.truffle.js.nodes.binary.JSBinaryNode
ensureBothSameNumericType, expressionToString, getLeft, getNodeObject, getRight, hasTag, largerThan2e32Methods inherited from class com.oracle.truffle.js.nodes.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 com.oracle.truffle.js.nodes.JavaScriptBaseNode
getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperatorsMethods 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, reportPolymorphicSpecializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
findNearestNodeAt, findNearestNodeAt, materializeInstrumentableNodes
-
Constructor Details
-
JSRightShiftNode
-
-
Method Details
-
create
-
execute
-
doInteger
protected int doInteger(int a, int b) -
doBigInt
-
doIntDouble
protected int doIntDouble(int a, double b) -
doDouble
protected Object doDouble(double a, double b, JSRightShiftNode rightShift, JSToInt32Node leftInt32, JSToUInt32Node rightUInt32) -
doOverloaded
-
getOverloadedOperatorName
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName() -
doGeneric
protected static Object doGeneric(Object a, Object b, com.oracle.truffle.api.nodes.Node node, JSRightShiftNode rightShift, JSToNumericNode leftToNumeric, JSToNumericNode rightToNumeric, com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes) -
create
-
copyUninitialized
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) - Overrides:
copyUninitializedin classJavaScriptNode
-