public abstract class JSDivideNode extends JSBinaryNode
leftNode, rightNode
INTERMEDIATE_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 Object |
doGeneric(Object a,
Object b,
JSDivideNode nestedDivideNode,
JSToNumericNode toNumeric1Node,
JSToNumericNode toNumeric2Node,
com.oracle.truffle.api.profiles.BranchProfile mixedNumericTypes) |
protected int |
doInt1(int a,
int b) |
protected int |
doInt2(int a,
int b) |
protected int |
doInt3(int a,
int b) |
abstract Object |
execute(Object a,
Object b) |
protected static boolean |
isCornercase(int a,
int b) |
boolean |
isResultAlwaysOfType(Class<?> clazz) |
ensureBothSameNumericType, expressionToString, getLeft, getNodeObject, getRight, hasTag, largerThan2e32
addCallTag, 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, transferSourceSectionAndTags
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize
protected 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 doGeneric(Object a, Object b, JSDivideNode nestedDivideNode, JSToNumericNode toNumeric1Node, JSToNumericNode toNumeric2Node, com.oracle.truffle.api.profiles.BranchProfile mixedNumericTypes)
public boolean isResultAlwaysOfType(Class<?> clazz)
isResultAlwaysOfType
in class JavaScriptNode
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized
in class JavaScriptNode