protected static final class PropertyCacheNode.AssumptionShapeCheckNode extends PropertyCacheNode.AbstractAssumptionShapeCheckNode
context| Modifier | Constructor and Description |
|---|---|
|
AssumptionShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
Object key,
JSContext context) |
protected |
AssumptionShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
Object key,
JSContext context,
com.oracle.truffle.api.Assumption unchangedAssumption,
com.oracle.truffle.api.Assumption stablePrototypeAssumption) |
|
AssumptionShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
Object key,
JSContext context,
boolean prototype,
com.oracle.truffle.api.Assumption stablePrototypeAssumption) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object thisObj)
Check receiver shape, class, or instance.
|
com.oracle.truffle.api.object.DynamicObject |
getStore(Object thisObj) |
protected boolean |
isUnstable() |
boolean |
isValid()
Checks if all required assumptions are valid.
|
getDepth, getShapegetCostcopy, getLanguage, getRealm, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected AssumptionShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
Object key,
JSContext context,
com.oracle.truffle.api.Assumption unchangedAssumption,
com.oracle.truffle.api.Assumption stablePrototypeAssumption)
public AssumptionShapeCheckNode(com.oracle.truffle.api.object.Shape shape,
Object key,
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 boolean isValid()
PropertyCacheNode.ReceiverCheckNodeisValid in class PropertyCacheNode.AbstractShapeCheckNodeprotected boolean isUnstable()
isUnstable in class PropertyCacheNode.ReceiverCheckNode