protected abstract static class PropertyCacheNode.ReceiverCheckNode extends JavaScriptBaseNode
Modifier and Type | Field and Description |
---|---|
protected com.oracle.truffle.api.object.Shape |
shape |
Modifier | Constructor and Description |
---|---|
protected |
ReceiverCheckNode(com.oracle.truffle.api.object.Shape shape) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(Object thisObj)
Check receiver shape, class, or instance.
|
com.oracle.truffle.api.nodes.NodeCost |
getCost() |
com.oracle.truffle.api.object.Shape |
getShape() |
abstract JSDynamicObject |
getStore(Object thisObj) |
protected boolean |
isUnstable() |
boolean |
isValid()
Checks if all required assumptions are valid.
|
copy, getLanguage, getRealm, hasOverloadedOperators, onReplace
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
protected ReceiverCheckNode(com.oracle.truffle.api.object.Shape shape)
public abstract boolean accept(Object thisObj)
public abstract JSDynamicObject getStore(Object thisObj)
public final com.oracle.truffle.api.object.Shape getShape()
public boolean isValid()
protected boolean isUnstable()
public final com.oracle.truffle.api.nodes.NodeCost getCost()
getCost
in class com.oracle.truffle.api.nodes.Node