Class ArrayBufferByteLengthNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.array.ArrayBufferByteLengthNode
- All Implemented Interfaces:
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.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static intdirectArrayBuffer(JSArrayBufferObject.Direct thisObj, JSContext context) abstract intexecute(com.oracle.truffle.api.nodes.Node node, JSArrayBufferObject arrayBufferObj, JSContext context) protected static intheapArrayBuffer(JSArrayBufferObject.Heap thisObj, JSContext context) protected static intinteropArrayBuffer(JSArrayBufferObject.Interop thisObj, JSContext context, com.oracle.truffle.api.interop.InteropLibrary interop) protected static intsharedArrayBuffer(JSArrayBufferObject.Shared thisObj, JSContext context) Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
-
Constructor Details
-
ArrayBufferByteLengthNode
public ArrayBufferByteLengthNode()
-
-
Method Details
-
execute
public abstract int execute(com.oracle.truffle.api.nodes.Node node, JSArrayBufferObject arrayBufferObj, JSContext context) -
heapArrayBuffer
-
directArrayBuffer
-
interopArrayBuffer
protected static int interopArrayBuffer(JSArrayBufferObject.Interop thisObj, JSContext context, com.oracle.truffle.api.interop.InteropLibrary interop)
-