Class JSBitwiseOrConstantNode
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.unary.JSUnaryNode
com.oracle.truffle.js.nodes.binary.JSBitwiseOrConstantNode
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
-
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
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final BigIntprotected final intFields inherited from class JSUnaryNode
operandNodeFields inherited from class JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSBitwiseOrConstantNode(JavaScriptNode left, Object rightValue) -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaScriptNodecopyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) static JavaScriptNodecreate(JavaScriptNode left, Object rightValue) protected BigIntprotected voidprotected intdoDouble(double a, JSToInt32Node leftInt32) protected voiddoDoubleThrows(double a) protected BigIntdoGenericBigIntCase(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt) protected ObjectdoGenericIntCase(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt, JavaScriptNode innerOrNode) protected intdoInteger(int a) protected voiddoIntegerThrows(int a) protected ObjectdoOverloaded(JSOverloadedOperatorsObject a, JSOverloadedBinaryNode overloadedOperatorNode) protected intabstract Objectprotected com.oracle.truffle.api.strings.TruffleStringbooleancom.oracle.truffle.api.instrumentation.InstrumentableNodematerializeInstrumentableNodes(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) Methods inherited from class JSUnaryNode
getNodeObject, getOperandMethods 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
-
Field Details
-
rightIntValue
protected final int rightIntValue -
rightBigIntValue
-
isInt
protected final boolean isInt
-
-
Constructor Details
-
JSBitwiseOrConstantNode
-
-
Method Details
-
create
-
hasTag
- Specified by:
hasTagin interfacecom.oracle.truffle.api.instrumentation.InstrumentableNode- Overrides:
hasTagin classJavaScriptNode
-
materializeInstrumentableNodes
-
executeObject
-
doInteger
protected int doInteger(int a) -
doSafeInteger
-
doDouble
-
doIntegerThrows
protected void doIntegerThrows(int a) -
doDoubleThrows
protected void doDoubleThrows(double a) -
doBigIntThrows
-
doBigInt
-
doOverloaded
protected Object doOverloaded(JSOverloadedOperatorsObject a, JSOverloadedBinaryNode overloadedOperatorNode) -
getOverloadedOperatorName
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName() -
doGenericIntCase
protected Object doGenericIntCase(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt, JavaScriptNode innerOrNode) -
doGenericBigIntCase
protected BigInt doGenericBigIntCase(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt) -
copyUninitialized
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) - Overrides:
copyUninitializedin classJavaScriptNode
-
expressionToString
- Overrides:
expressionToStringin classJSUnaryNode
-