Class FunctionPrototypeBuiltins.CopyFunctionNameAndLengthNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.builtins.FunctionPrototypeBuiltins.CopyFunctionNameAndLengthNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
FunctionPrototypeBuiltins
public abstract static class FunctionPrototypeBuiltins.CopyFunctionNameAndLengthNode
extends JavaScriptBaseNode
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()protected static voiddoBoundOrWrappedFunction(JSFunctionObject.BoundOrWrapped boundFunction, JSFunctionObject targetFunction, com.oracle.truffle.api.strings.TruffleString prefix, int argCount, com.oracle.truffle.api.nodes.Node node, HasPropertyCacheNode hasFunctionLengthNode, PropertyGetNode getFunctionLengthNode, PropertyGetNode getFunctionNameNode, com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode functionLengthGetPropertyFlags, com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode functionNameGetPropertyFlags, com.oracle.truffle.api.profiles.InlinedConditionProfile hasFunctionLengthProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile hasIntegerFunctionLengthProfile) protected static voiddoBoundOrWrappedFunction(JSFunctionObject.BoundOrWrapped boundFunction, Object target, com.oracle.truffle.api.strings.TruffleString prefix, int argCount, com.oracle.truffle.api.nodes.Node node, HasPropertyCacheNode hasFunctionLengthNode, PropertyGetNode getFunctionLengthNode, PropertyGetNode getFunctionNameNode, com.oracle.truffle.api.profiles.InlinedConditionProfile hasFunctionLengthProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile hasIntegerFunctionLengthProfile) protected static voiddoOrdinaryFunction(JSFunctionObject function, Object target, com.oracle.truffle.api.strings.TruffleString prefix, int argCount, com.oracle.truffle.api.nodes.Node node, HasPropertyCacheNode hasFunctionLengthNode, PropertyGetNode getFunctionLengthNode, PropertyGetNode getFunctionNameNode, com.oracle.truffle.api.profiles.InlinedConditionProfile hasFunctionLengthProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile hasIntegerFunctionLengthProfile) abstract voidexecute(JSFunctionObject function, Object target, com.oracle.truffle.api.strings.TruffleString prefix, int argCount) protected static booleanisBoundOrWrapped(JSFunctionObject function) Methods 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
-
CopyFunctionNameAndLengthNode
public CopyFunctionNameAndLengthNode()
-
-
Method Details
-
create
-
execute
public abstract void execute(JSFunctionObject function, Object target, com.oracle.truffle.api.strings.TruffleString prefix, int argCount) -
doBoundOrWrappedFunction
protected static void doBoundOrWrappedFunction(JSFunctionObject.BoundOrWrapped boundFunction, JSFunctionObject targetFunction, com.oracle.truffle.api.strings.TruffleString prefix, int argCount, com.oracle.truffle.api.nodes.Node node, HasPropertyCacheNode hasFunctionLengthNode, PropertyGetNode getFunctionLengthNode, PropertyGetNode getFunctionNameNode, com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode functionLengthGetPropertyFlags, com.oracle.truffle.api.object.DynamicObject.GetPropertyFlagsNode functionNameGetPropertyFlags, com.oracle.truffle.api.profiles.InlinedConditionProfile hasFunctionLengthProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile hasIntegerFunctionLengthProfile) -
doBoundOrWrappedFunction
protected static void doBoundOrWrappedFunction(JSFunctionObject.BoundOrWrapped boundFunction, Object target, com.oracle.truffle.api.strings.TruffleString prefix, int argCount, com.oracle.truffle.api.nodes.Node node, HasPropertyCacheNode hasFunctionLengthNode, PropertyGetNode getFunctionLengthNode, PropertyGetNode getFunctionNameNode, com.oracle.truffle.api.profiles.InlinedConditionProfile hasFunctionLengthProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile hasIntegerFunctionLengthProfile) -
doOrdinaryFunction
protected static void doOrdinaryFunction(JSFunctionObject function, Object target, com.oracle.truffle.api.strings.TruffleString prefix, int argCount, com.oracle.truffle.api.nodes.Node node, HasPropertyCacheNode hasFunctionLengthNode, PropertyGetNode getFunctionLengthNode, PropertyGetNode getFunctionNameNode, com.oracle.truffle.api.profiles.InlinedConditionProfile hasFunctionLengthProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile hasIntegerFunctionLengthProfile) -
isBoundOrWrapped
-