public abstract class JSModuloNode extends JSBinaryNode
leftNode, rightNodeINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
JSModuloNode(JavaScriptNode left,
JavaScriptNode right) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JSModuloNode |
create() |
static JSModuloNode |
create(JavaScriptNode left,
JavaScriptNode right) |
protected BigInt |
doBigInteger(BigInt a,
BigInt b) |
protected void |
doBigIntegerZeroDivision(BigInt a,
BigInt b) |
protected double |
doDouble(double a,
double b) |
protected static Object |
doGeneric(Object a,
Object b,
com.oracle.truffle.api.nodes.Node node,
JSModuloNode nestedModuloNode,
JSToNumericNode toNumeric1Node,
JSToNumericNode toNumeric2Node,
com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes) |
protected int |
doInt(int a,
int b,
com.oracle.truffle.api.profiles.InlinedBranchProfile specialBranch) |
protected int |
doIntPow2(int a,
int b,
com.oracle.truffle.api.profiles.InlinedBranchProfile negativeBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile negativeZeroBranch) |
protected Object |
doOverloaded(Object a,
Object b,
JSOverloadedBinaryNode overloadedOperatorNode) |
abstract Object |
execute(Object a,
Object b) |
protected com.oracle.truffle.api.strings.TruffleString |
getOverloadedOperatorName() |
ensureBothSameNumericType, expressionToString, getLeft, getNodeObject, getRight, hasTag, largerThan2e32addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, 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 JSModuloNode(JavaScriptNode left, JavaScriptNode right)
public static JSModuloNode create(JavaScriptNode left, JavaScriptNode right)
public static JSModuloNode create()
protected int doIntPow2(int a,
int b,
com.oracle.truffle.api.profiles.InlinedBranchProfile negativeBranch,
com.oracle.truffle.api.profiles.InlinedBranchProfile negativeZeroBranch)
protected int doInt(int a,
int b,
com.oracle.truffle.api.profiles.InlinedBranchProfile specialBranch)
protected double doDouble(double a,
double b)
protected Object doOverloaded(Object a, Object b, JSOverloadedBinaryNode overloadedOperatorNode)
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName()
protected static Object doGeneric(Object a, Object b, com.oracle.truffle.api.nodes.Node node, JSModuloNode nestedModuloNode, JSToNumericNode toNumeric1Node, JSToNumericNode toNumeric2Node, com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes)
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode