protected static final class PropertyCacheNode.TraversePrototypeChainShapeCheckNode extends PropertyCacheNode.AbstractShapeCheckNode
JSConfig.SkipPrototypeShapeCheckshape| Constructor and Description |
|---|
TraversePrototypeChainShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
JSDynamicObject thisObj,
int depth) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object thisObj)
Check receiver shape, class, or instance.
|
int |
getDepth() |
JSDynamicObject |
getStore(Object thisObj) |
boolean |
isValid()
Checks if all required assumptions are valid.
|
getCost, getShape, isUnstablecopy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic TraversePrototypeChainShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
JSDynamicObject thisObj,
int depth)
public boolean accept(Object thisObj)
PropertyCacheNode.ReceiverCheckNodeaccept in class PropertyCacheNode.AbstractShapeCheckNodepublic JSDynamicObject getStore(Object thisObj)
getStore in class PropertyCacheNode.AbstractShapeCheckNodeJSDynamicObject that contains the property.public int getDepth()
getDepth in class PropertyCacheNode.AbstractShapeCheckNodepublic boolean isValid()
PropertyCacheNode.ReceiverCheckNodeisValid in class PropertyCacheNode.AbstractShapeCheckNode