Class JSOverloadedBinaryNode.DispatchBinaryOperatorNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.binary.JSOverloadedBinaryNode.DispatchBinaryOperatorNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
JSOverloadedBinaryNode

public abstract static class JSOverloadedBinaryNode.DispatchBinaryOperatorNode extends JavaScriptBaseNode
This class implements the DispatchBinaryOperator spec function. Its responsibility is to call the correct operator overload. This node aims to perform the overload lookup at compile-time and then use direct, inlinable function calls, guarded by shape checks and type checks.