public abstract static class ArrayPrototypeBuiltins.JSArrayPushNode extends ArrayPrototypeBuiltins.JSArrayOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedTHROW_ERRORerrorBranch, isTypedArrayImplementationINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArrayPushNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
static ArrayPrototypeBuiltins.JSArrayPushNode |
create(JSContext context,
JSBuiltin builtin,
JavaScriptNode[] args) |
protected int |
pushArrayAll(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray) |
protected double |
pushArrayAllLong(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray) |
protected Object |
pushArrayNone(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray) |
protected int |
pushArraySingle(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray) |
protected double |
pushArraySingleLong(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray) |
protected double |
pushProperty(Object thisObject,
Object[] args,
boolean isArray) |
hasProperty, hasProperty, nextElementIndex, previousElementIndex, read, read, setLength, setLength, setLength, throwLengthError, write, write, writeOwn, writeOwncheckCallbackIsFunction, checkHasDetachedBuffer, getArraySpeciesConstructorNode, getLength, isCallable, reportLoopCount, reportLoopCount, toObject, validateTypedArraycopyUninitialized, 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 ArrayPrototypeBuiltins.JSArrayPushNode create(JSContext context, JSBuiltin builtin, JavaScriptNode[] args)
protected Object pushArrayNone(com.oracle.truffle.api.object.DynamicObject thisObject, Object[] args, boolean isArray)
protected int pushArraySingle(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray)
throws com.oracle.truffle.api.nodes.SlowPathException
com.oracle.truffle.api.nodes.SlowPathExceptionprotected double pushArraySingleLong(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray)
protected int pushArrayAll(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray)
throws com.oracle.truffle.api.nodes.SlowPathException
com.oracle.truffle.api.nodes.SlowPathExceptionprotected double pushArrayAllLong(com.oracle.truffle.api.object.DynamicObject thisObject,
Object[] args,
boolean isArray)