Class AtomicsBuiltins.AtomicsCompareExchangeNode
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.function.AbstractBodyNode
com.oracle.truffle.js.nodes.function.JSBuiltinNode
com.oracle.truffle.js.builtins.AtomicsBuiltins.AtomicsOperationNode
com.oracle.truffle.js.builtins.AtomicsBuiltins.AtomicsCompareExchangeNode
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
AtomicsBuiltins
public abstract static class AtomicsBuiltins.AtomicsCompareExchangeNode
extends AtomicsBuiltins.AtomicsOperationNode
6.3.3 Atomics.compareExchange(typedArray, index, expectedValue, replacementValue).
-
Nested Class Summary
Nested classes/interfaces inherited from class JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedNested 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 JSBuiltinNode
ARGUMENTSFields inherited from class JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static BigIntdoBigInt(JSTypedArrayObject target, int index, BigInt expected, BigInt replacement, TypedArray.TypedBigIntArray typedArray) protected BigIntdoBigInt64ArrayObjObjIdx(JSTypedArrayObject target, Object index, Object expected, Object replacement, TypedArray ta, JSToIndexNode toIndexNode) protected BigIntdoBigUint64ArrayObjObjIdx(JSTypedArrayObject target, Object index, Object expected, Object replacement, TypedArray ta, JSToIndexNode toIndexNode) protected BigIntdoCASBigInt(JSTypedArrayObject target, int index, BigInt expected, BigInt replacement, TypedArray.TypedBigIntArray typedArray) protected intdoCASInt(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray.TypedIntArray typedArray) protected ObjectdoCASUint32(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray.TypedIntArray typedArray) protected ObjectdoGeneric(Object maybeTarget, Object index, Object expected, Object replacement, JSToIndexNode toIndexNode, com.oracle.truffle.api.profiles.InlinedBranchProfile notSharedArrayBuffer) protected static intdoInt16(JSTypedArrayObject target, int index, int expected, int replacement, boolean signed, TypedArray.TypedIntArray typedArray) protected intdoInt16Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) protected static intdoInt32(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray.TypedIntArray typedArray) protected intdoInt32ArrayInt(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) protected intdoInt32ArrayIntObjIdx(JSTypedArrayObject target, Object index, int expected, int replacement, TypedArray ta, JSToIndexNode toIndexNode) protected intdoInt32ArrayObj(JSTypedArrayObject target, int index, Object expected, Object replacement, TypedArray ta) protected intdoInt32ArrayObjObjIdx(JSTypedArrayObject target, Object index, Object expected, Object replacement, TypedArray ta, JSToIndexNode toIndexNode) protected static intdoInt8(JSTypedArrayObject target, int index, int expected, int replacement, boolean signed, TypedArray.TypedIntArray typedArray) protected intdoInt8Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) protected intdoUint16Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) protected ObjectdoUint32Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) protected intdoUint8Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) Methods inherited from class AtomicsBuiltins.AtomicsOperationNode
checkOutOfBounds, createRangeErrorSharedArray, createTypeErrorNotIntArray, createTypeErrorNotSharedArray, createTypeErrorNotTypedArray, createTypeErrorNotWaitableIntArray, createTypeErrorUnsupported, isDirectBigInt64Array, isDirectBigUint64Array, isDirectInt16Array, isDirectInt32Array, isDirectInt8Array, isDirectUint16Array, isDirectUint32Array, isDirectUint8Array, isInt32SharedBufferView, isSharedBufferView, revalidateAtomicAccess, typedArrayLength, validateAtomicAccess, validateIntegerTypedArray, validateTypedArrayMethods inherited from class JSBuiltinNode
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedMethods inherited from class AbstractBodyNode
executeBoolean, executeDouble, executeInt, executeVoidMethods inherited from class JavaScriptNode
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, expressionToString, 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
-
AtomicsCompareExchangeNode
-
-
Method Details
-
doCASUint32
protected Object doCASUint32(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray.TypedIntArray typedArray) -
doCASInt
protected int doCASInt(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray.TypedIntArray typedArray) -
doCASBigInt
protected BigInt doCASBigInt(JSTypedArrayObject target, int index, BigInt expected, BigInt replacement, TypedArray.TypedBigIntArray typedArray) -
doInt8
protected static int doInt8(JSTypedArrayObject target, int index, int expected, int replacement, boolean signed, TypedArray.TypedIntArray typedArray) -
doInt16
protected static int doInt16(JSTypedArrayObject target, int index, int expected, int replacement, boolean signed, TypedArray.TypedIntArray typedArray) -
doInt32
protected static int doInt32(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray.TypedIntArray typedArray) -
doBigInt
protected static BigInt doBigInt(JSTypedArrayObject target, int index, BigInt expected, BigInt replacement, TypedArray.TypedBigIntArray typedArray) -
doInt8Array
protected int doInt8Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) -
doUint8Array
protected int doUint8Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) -
doInt16Array
protected int doInt16Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) -
doUint16Array
protected int doUint16Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) -
doUint32Array
protected Object doUint32Array(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) -
doInt32ArrayInt
protected int doInt32ArrayInt(JSTypedArrayObject target, int index, int expected, int replacement, TypedArray ta) -
doInt32ArrayObj
protected int doInt32ArrayObj(JSTypedArrayObject target, int index, Object expected, Object replacement, TypedArray ta) -
doInt32ArrayIntObjIdx
protected int doInt32ArrayIntObjIdx(JSTypedArrayObject target, Object index, int expected, int replacement, TypedArray ta, JSToIndexNode toIndexNode) -
doInt32ArrayObjObjIdx
protected int doInt32ArrayObjObjIdx(JSTypedArrayObject target, Object index, Object expected, Object replacement, TypedArray ta, JSToIndexNode toIndexNode) -
doBigInt64ArrayObjObjIdx
protected BigInt doBigInt64ArrayObjObjIdx(JSTypedArrayObject target, Object index, Object expected, Object replacement, TypedArray ta, JSToIndexNode toIndexNode) -
doBigUint64ArrayObjObjIdx
protected BigInt doBigUint64ArrayObjObjIdx(JSTypedArrayObject target, Object index, Object expected, Object replacement, TypedArray ta, JSToIndexNode toIndexNode) -
doGeneric
-