public abstract static class CreateObjectNode.CreateObjectWithPrototypeNode extends CreateObjectNode
CreateObjectNode.CreateObjectWithCachedPrototypeNode, CreateObjectNode.CreateObjectWithPrototypeNode| Modifier and Type | Field and Description |
|---|---|
protected JavaScriptNode |
prototypeExpression |
context| Modifier | Constructor and Description |
|---|---|
protected |
CreateObjectWithPrototypeNode(JSContext context,
JavaScriptNode prototypeExpression) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract CreateObjectNode.CreateObjectWithPrototypeNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
abstract JSObject |
execute(JSDynamicObject prototype) |
JSObject |
executeWithRealm(com.oracle.truffle.api.frame.VirtualFrame frame,
JSRealm realm) |
create, createOrdinaryWithPrototype, createOrdinaryWithPrototype, createWithPrototype, executecopy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected JavaScriptNode prototypeExpression
protected CreateObjectWithPrototypeNode(JSContext context, JavaScriptNode prototypeExpression)
public abstract JSObject execute(JSDynamicObject prototype)
public final JSObject executeWithRealm(com.oracle.truffle.api.frame.VirtualFrame frame, JSRealm realm)
executeWithRealm in class CreateObjectNodeprotected abstract CreateObjectNode.CreateObjectWithPrototypeNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class CreateObjectNode