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