public abstract class MinMaxNode extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
MinMaxNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static Object |
do1(Object[] args,
JSToNumberNode toNumber0Node) |
protected Object |
do2(Object[] args,
com.oracle.truffle.api.profiles.InlinedBranchProfile isIntBranch,
JSNumberToDoubleNode numberToDouble,
JSToNumberNode toNumber0Node,
JSToNumberNode toNumber1Node) |
protected Object |
do3(Object[] args,
com.oracle.truffle.api.profiles.InlinedBranchProfile isIntBranch,
JSNumberToDoubleNode numberToDouble,
JSToNumberNode toNumber0Node,
JSToNumberNode toNumber1Node,
JSToNumberNode toNumber2Node) |
protected Object |
do4OrMore(Object[] args,
com.oracle.truffle.api.profiles.InlinedBranchProfile isIntBranch,
JSToNumberNode toNumber0Node,
JSToNumberNode toNumber1Node,
JSToNumberNode toNumber2Node,
JSNumberToDoubleNode numberToDouble) |
protected abstract double |
minOrMaxDouble(double a,
double b) |
protected abstract int |
minOrMaxInt(int a,
int b) |
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected abstract int minOrMaxInt(int a,
int b)
protected abstract double minOrMaxDouble(double a,
double b)
protected static Object do1(Object[] args, JSToNumberNode toNumber0Node)
protected final Object do2(Object[] args, com.oracle.truffle.api.profiles.InlinedBranchProfile isIntBranch, JSNumberToDoubleNode numberToDouble, JSToNumberNode toNumber0Node, JSToNumberNode toNumber1Node)
protected Object do3(Object[] args, com.oracle.truffle.api.profiles.InlinedBranchProfile isIntBranch, JSNumberToDoubleNode numberToDouble, JSToNumberNode toNumber0Node, JSToNumberNode toNumber1Node, JSToNumberNode toNumber2Node)
protected Object do4OrMore(Object[] args, com.oracle.truffle.api.profiles.InlinedBranchProfile isIntBranch, JSToNumberNode toNumber0Node, JSToNumberNode toNumber1Node, JSToNumberNode toNumber2Node, JSNumberToDoubleNode numberToDouble)