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 Object |
doGeneric(Object a,
Object b,
JSModuloNode nestedModuloNode,
JSToNumericNode toNumeric1Node,
JSToNumericNode toNumeric2Node,
com.oracle.truffle.api.profiles.BranchProfile mixedNumericTypes) |
protected int |
doInt(int a,
int b,
com.oracle.truffle.api.profiles.BranchProfile specialBranch) |
protected int |
doIntPow2(int a,
int b,
com.oracle.truffle.api.profiles.BranchProfile negativeBranch,
com.oracle.truffle.api.profiles.BranchProfile negativeZeroBranch) |
abstract Object |
execute(Object a,
Object b) |
boolean |
isResultAlwaysOfType(Class<?> clazz) |
ensureBothSameNumericType, expressionToString, getLeft, getNodeObject, getRight, hasTag, largerThan2e32addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, 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.BranchProfile negativeBranch,
com.oracle.truffle.api.profiles.BranchProfile negativeZeroBranch)
protected int doInt(int a,
int b,
com.oracle.truffle.api.profiles.BranchProfile specialBranch)
protected double doDouble(double a,
double b)
protected Object doGeneric(Object a, Object b, JSModuloNode nestedModuloNode, JSToNumericNode toNumeric1Node, JSToNumericNode toNumeric2Node, com.oracle.truffle.api.profiles.BranchProfile mixedNumericTypes)
public boolean isResultAlwaysOfType(Class<?> clazz)
isResultAlwaysOfType in class JavaScriptNodeprotected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode