public abstract static class ConstructorBuiltins.ConstructWithNewTargetNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isNewTargetCase |
ARGUMENTSINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
ConstructWithNewTargetNode(JSContext context,
JSBuiltin builtin,
boolean isNewTargetCase) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract JSDynamicObject |
getIntrinsicDefaultProto(JSRealm realm) |
protected JSDynamicObject |
getPrototype(JSRealm realm,
JSDynamicObject newTarget) |
protected JSRealm |
getRealmFromNewTarget(Object newTarget) |
protected <T extends JSObject> |
setPrototypeFromNewTarget(T resultObj,
JSDynamicObject newTarget) |
protected <T extends JSObject> |
swapPrototype(T resultObj,
JSDynamicObject newTarget) |
copyUninitialized, 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 abstract JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
protected JSDynamicObject getPrototype(JSRealm realm, JSDynamicObject newTarget)
protected <T extends JSObject> T swapPrototype(T resultObj, JSDynamicObject newTarget)
protected <T extends JSObject> T setPrototypeFromNewTarget(T resultObj, JSDynamicObject newTarget)