Class PropertyGetNode.GetCacheNode
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
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
PropertyGetNode.GenericPropertyGetNode,PropertyGetNode.LinkedPropertyGetNode
- Enclosing class:
PropertyGetNode
public abstract static class PropertyGetNode.GetCacheNode
extends PropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
-
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
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotectedGetCacheNode(PropertyCacheNode.ReceiverCheckNode receiverCheck) protectedGetCacheNode(PropertyCacheNode.ReceiverCheckNode receiverCheck, int specializationFlags) -
Method Summary
Modifier and TypeMethodDescriptionprotected final PropertyGetNode.GetCacheNodegetNext()protected abstract ObjectgetValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) protected booleangetValueBoolean(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) protected doublegetValueDouble(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) protected intgetValueInt(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) protected final voidMethods inherited from class com.oracle.truffle.js.nodes.access.PropertyCacheNode.CacheNode
accepts, acceptsValue, clearExpectedObject, debugString, getExpectedObject, isConstantObjectSpecialization, isFinalSpecialization, isGeneric, isSimpleShapeCheck, isSingleRealm, isValid, isValidFinalAssumption, sweep, withNextMethods inherited from class com.oracle.truffle.js.nodes.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
-
Field Details
-
next
-
-
Constructor Details
-
GetCacheNode
-
GetCacheNode
-
-
Method Details
-
getNext
- Specified by:
getNextin classPropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
-
setNext
- Specified by:
setNextin classPropertyCacheNode.CacheNode<PropertyGetNode.GetCacheNode>
-
getValue
protected abstract Object getValue(Object thisObj, Object receiver, Object defaultValue, PropertyGetNode root, boolean guard) -
getValueInt
protected int getValueInt(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) throws com.oracle.truffle.api.nodes.UnexpectedResultException - Throws:
com.oracle.truffle.api.nodes.UnexpectedResultException
-
getValueDouble
protected double getValueDouble(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) throws com.oracle.truffle.api.nodes.UnexpectedResultException - Throws:
com.oracle.truffle.api.nodes.UnexpectedResultException
-
getValueBoolean
protected boolean getValueBoolean(Object thisObj, Object receiver, PropertyGetNode root, boolean guard) throws com.oracle.truffle.api.nodes.UnexpectedResultException - Throws:
com.oracle.truffle.api.nodes.UnexpectedResultException
-