Class PropertyGetNode.AbstractFinalPropertyGetNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
com.oracle.truffle.js.nodes.access.PropertyGetNode.GetCacheNode
com.oracle.truffle.js.nodes.access.PropertyGetNode.LinkedPropertyGetNode
com.oracle.truffle.js.nodes.access.PropertyGetNode.AbstractFinalPropertyGetNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
PropertyGetNode.FinalAccessorPropertyGetNode,PropertyGetNode.FinalBooleanPropertyGetNode,PropertyGetNode.FinalDoublePropertyGetNode,PropertyGetNode.FinalIntPropertyGetNode,PropertyGetNode.FinalObjectPropertyGetNode
- Enclosing class:
PropertyGetNode
protected abstract static class PropertyGetNode.AbstractFinalPropertyGetNode
extends PropertyGetNode.LinkedPropertyGetNode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Field Summary
Fields inherited from class com.oracle.truffle.js.nodes.access.PropertyGetNode.GetCacheNode
nextFields inherited from class com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode
IS_FINAL, IS_FINAL_CONSTANT_OBJECT, IS_SIMPLE_SHAPE_CHECK, IS_SINGLE_REALM, receiverCheck -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractFinalPropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.AbstractShapeCheckNode shapeCheck, JSDynamicObject expectedObj) -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanassertFinalValue(Object finalValue, Object thisObj, PropertyGetNode root) protected final voidprotected Stringprotected final JSDynamicObjectprotected final booleanMethods inherited from class com.oracle.truffle.js.nodes.access.PropertyGetNode.GetCacheNode
getNext, getValue, getValueBoolean, getValueDouble, getValueInt, setNextMethods inherited from class com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode
accepts, acceptsValue, isConstantObjectSpecialization, isFinalSpecialization, isGeneric, isSimpleShapeCheck, isSingleRealm, isValid, sweep, withNextMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
-
Constructor Details
-
AbstractFinalPropertyGetNode
protected AbstractFinalPropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.AbstractShapeCheckNode shapeCheck, JSDynamicObject expectedObj)
-
-
Method Details
-
isValidFinalAssumption
protected final boolean isValidFinalAssumption()- Overrides:
isValidFinalAssumptionin classPropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
-
getExpectedObject
- Overrides:
getExpectedObjectin classPropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
-
clearExpectedObject
protected final void clearExpectedObject()- Overrides:
clearExpectedObjectin classPropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
-
assertFinalValue
-
debugString
- Overrides:
debugStringin classPropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
-