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 JSRealm |
getRealmFromNewTarget(Object newTarget) |
protected JSObject |
setPrototypeFromNewTarget(JSObject resultObj,
JSDynamicObject newTarget) |
protected JSObject |
swapPrototype(JSObject 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, executeSafeInteger, 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 JSObject swapPrototype(JSObject resultObj, JSDynamicObject newTarget)
protected JSObject setPrototypeFromNewTarget(JSObject resultObj, JSDynamicObject newTarget)