public abstract class JSDivideNode extends JSBinaryNode
leftNode, rightNodeINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
JSDivideNode(JavaScriptNode left,
JavaScriptNode right) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JSDivideNode |
create() |
static JSDivideNode |
create(JavaScriptNode left,
JavaScriptNode right) |
protected BigInt |
doBigInt(BigInt a,
BigInt b) |
protected BigInt |
doBigIntZeroDivision(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,
JSDivideNode nestedDivideNode,
JSToNumericNode toNumeric1Node,
JSToNumericNode toNumeric2Node,
com.oracle.truffle.api.profiles.InlinedBranchProfile mixedNumericTypes) |
protected int |
doInt1(int a,
int b) |
protected int |
doInt2(int a,
int b) |
protected int |
doInt3(int a,
int b) |
protected Object |
doOverloaded(Object a,
Object b,
JSOverloadedBinaryNode overloadedOperatorNode) |
abstract Object |
execute(Object a,
Object b) |
protected com.oracle.truffle.api.strings.TruffleString |
getOverloadedOperatorName() |
protected static boolean |
isCornercase(int a,
int b) |
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 JSDivideNode(JavaScriptNode left, JavaScriptNode right)
public static JSDivideNode create(JavaScriptNode left, JavaScriptNode right)
public static JSDivideNode create()
protected static boolean isCornercase(int a,
int b)
protected int doInt1(int a,
int b)
protected int doInt2(int a,
int b)
protected int doInt3(int a,
int b)
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, JSDivideNode nestedDivideNode, 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