public abstract static class AtomicsBuiltins.AtomicsOperationNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedINTERMEDIATE_VALUE| Constructor and Description |
|---|
AtomicsOperationNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static JSException |
createRangeErrorSharedArray(Object idx) |
protected JSException |
createTypeErrorNotSharedArray() |
protected JSException |
createTypeErrorNotSharedIntArray() |
protected JSException |
createTypeErrorNotWaitableSharedIntArray() |
protected JSException |
createTypeErrorUnsupported() |
protected com.oracle.truffle.api.object.DynamicObject |
ensureDynamicObject(Object maybeTarget) |
protected static boolean |
inboundFast(com.oracle.truffle.api.object.DynamicObject target,
int index) |
static boolean |
isBigInt64SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isBigInt64SharedBufferView(Object object) |
static boolean |
isBigUint64SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isInt16SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isInt32SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isInt32SharedBufferView(Object object) |
static boolean |
isInt8SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isSharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isSharedBufferView(Object object) |
static boolean |
isUint16SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isUint32SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
static boolean |
isUint8SharedBufferView(com.oracle.truffle.api.object.DynamicObject object) |
protected static int |
validateAtomicAccess(com.oracle.truffle.api.object.DynamicObject target,
long convertedIndex,
Object originalIndex) |
protected TypedArray |
validateSharedIntegerTypedArray(com.oracle.truffle.api.object.DynamicObject object,
boolean waitable) |
copyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializepublic static boolean isSharedBufferView(Object object)
public static boolean isSharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isInt8SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isUint8SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isInt16SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isUint16SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isInt32SharedBufferView(Object object)
public static boolean isInt32SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isUint32SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isBigInt64SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isBigUint64SharedBufferView(com.oracle.truffle.api.object.DynamicObject object)
public static boolean isBigInt64SharedBufferView(Object object)
protected static int validateAtomicAccess(com.oracle.truffle.api.object.DynamicObject target,
long convertedIndex,
Object originalIndex)
protected TypedArray validateSharedIntegerTypedArray(com.oracle.truffle.api.object.DynamicObject object, boolean waitable)
protected com.oracle.truffle.api.object.DynamicObject ensureDynamicObject(Object maybeTarget)
protected static boolean inboundFast(com.oracle.truffle.api.object.DynamicObject target,
int index)
protected final JSException createTypeErrorNotSharedArray()
protected final JSException createTypeErrorNotSharedIntArray()
protected final JSException createTypeErrorNotWaitableSharedIntArray()
protected static final JSException createRangeErrorSharedArray(Object idx)
protected final JSException createTypeErrorUnsupported()