protected static final class PropertyCacheNode.ConstantObjectPrototypeChainShapeCheckNode extends PropertyCacheNode.AbstractAssumptionShapeCheckNode implements PropertyCacheNode.ConstantObjectReceiverCheck
JSConfig.SkipFinalShapeCheckcontext| Constructor and Description |
|---|
ConstantObjectPrototypeChainShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
JSDynamicObject thisObj,
Object key,
int depth,
JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object thisObj)
Check receiver shape, class, or instance.
|
void |
clearExpectedObject() |
int |
getDepth() |
Object |
getExpectedObject() |
com.oracle.truffle.api.object.DynamicObject |
getStore(Object thisObj) |
protected boolean |
isUnstable() |
boolean |
isValid()
Checks if all required assumptions are valid.
|
getShapegetCostcopy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic ConstantObjectPrototypeChainShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
JSDynamicObject thisObj,
Object key,
int depth,
JSContext context)
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.AbstractShapeCheckNodeprotected boolean isUnstable()
isUnstable in class PropertyCacheNode.ReceiverCheckNodepublic Object getExpectedObject()
getExpectedObject in interface PropertyCacheNode.ConstantObjectReceiverCheckpublic void clearExpectedObject()
clearExpectedObject in interface PropertyCacheNode.ConstantObjectReceiverCheck