public abstract static class ConstructorBuiltins.ConstructObjectNode extends ConstructorBuiltins.ConstructWithNewTargetNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedisNewTargetCaseARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
ConstructObjectNode(JSContext context,
JSBuiltin builtin,
boolean isNewTargetCase) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
arg0NullOrUndefined(Object[] args) |
protected JSObject |
constructObject0(JSDynamicObject newTarget,
Object[] arguments) |
protected Object |
constructObjectJSObject(JSDynamicObject newTarget,
Object[] arguments,
com.oracle.truffle.api.nodes.Node node,
JSToObjectNode toObjectNode,
com.oracle.truffle.api.interop.InteropLibrary interop,
com.oracle.truffle.api.profiles.InlinedConditionProfile isNull) |
protected JSObject |
constructObjectNewTarget(JSDynamicObject newTarget,
Object[] arguments) |
protected JSObject |
constructObjectNullOrUndefined(JSDynamicObject newTarget,
Object[] arguments) |
protected static Object |
firstArgument(Object[] arguments) |
protected JSDynamicObject |
getIntrinsicDefaultProto(JSRealm realm) |
getPrototype, getRealmFromNewTarget, setPrototypeFromNewTarget, swapPrototypecopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected static boolean arg0NullOrUndefined(Object[] args)
protected JSObject constructObjectNewTarget(JSDynamicObject newTarget, Object[] arguments)
protected JSObject constructObject0(JSDynamicObject newTarget, Object[] arguments)
protected Object constructObjectJSObject(JSDynamicObject newTarget, Object[] arguments, com.oracle.truffle.api.nodes.Node node, JSToObjectNode toObjectNode, com.oracle.truffle.api.interop.InteropLibrary interop, com.oracle.truffle.api.profiles.InlinedConditionProfile isNull)
protected JSObject constructObjectNullOrUndefined(JSDynamicObject newTarget, Object[] arguments)
protected JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
getIntrinsicDefaultProto in class ConstructorBuiltins.ConstructWithNewTargetNode