Class PropertyGetNode.FinalDoublePropertyGetNode
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
com.oracle.truffle.js.nodes.access.PropertyGetNode.FinalDoublePropertyGetNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
PropertyGetNode
public static final class PropertyGetNode.FinalDoublePropertyGetNode
extends PropertyGetNode.AbstractFinalPropertyGetNode
-
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 PropertyGetNode.GetCacheNode
nextFields inherited from class PropertyCacheNode.CacheNode
IS_FINAL, IS_FINAL_CONSTANT_OBJECT, IS_SIMPLE_SHAPE_CHECK, IS_SINGLE_REALM, receiverCheck -
Constructor Summary
ConstructorsConstructorDescriptionFinalDoublePropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.AbstractShapeCheckNode shapeCheck, double value, JSDynamicObject expectedObj) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) protected doublegetValueDouble(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) Methods inherited from class PropertyGetNode.AbstractFinalPropertyGetNode
assertFinalValue, clearExpectedObject, debugString, getExpectedObject, isValidFinalAssumptionMethods inherited from class PropertyGetNode.GetCacheNode
getNext, getValueBoolean, getValueInt, setNextMethods inherited from class PropertyCacheNode.CacheNode
accepts, acceptsValue, isConstantObjectSpecialization, isFinalSpecialization, isGeneric, isSimpleShapeCheck, isSingleRealm, isValid, sweep, withNextMethods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods 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, reportReplace, toString
-
Constructor Details
-
FinalDoublePropertyGetNode
public FinalDoublePropertyGetNode(com.oracle.truffle.api.object.Property property, PropertyCacheNode.AbstractShapeCheckNode shapeCheck, double value, JSDynamicObject expectedObj)
-
-
Method Details
-
getValue
protected Object getValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) - Specified by:
getValuein classPropertyGetNode.GetCacheNode
-
getValueDouble
protected double getValueDouble(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) - Overrides:
getValueDoublein classPropertyGetNode.GetCacheNode
-