public abstract class com.oracle.truffle.js.nodes.binary.JSModuloNode extends com.oracle.truffle.js.nodes.binary.JSBinaryNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.nodes.binary.JSModuloNode
super_class: com.oracle.truffle.js.nodes.binary.JSBinaryNode
{
protected void <init>(com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.nodes.binary.JSBinaryNode.<init>:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 2 1 left Lcom/oracle/truffle/js/nodes/JavaScriptNode;
0 2 2 right Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
left
right
public static com.oracle.truffle.js.nodes.binary.JSModuloNode create(com.oracle.truffle.js.nodes.JavaScriptNode, com.oracle.truffle.js.nodes.JavaScriptNode);
descriptor: (Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSModuloNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
left
right
public static com.oracle.truffle.js.nodes.binary.JSModuloNode create();
descriptor: ()Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: aconst_null
aconst_null
invokestatic com.oracle.truffle.js.nodes.binary.JSModuloNode.create:(Lcom/oracle/truffle/js/nodes/JavaScriptNode;Lcom/oracle/truffle/js/nodes/JavaScriptNode;)Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
public abstract java.lang.Object execute(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
a
b
static boolean isPowOf2(int);
descriptor: (I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
ifle 1
iload 0
iload 0
iconst_1
isub
iand
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 b I
MethodParameters:
Name Flags
b
protected int doIntPow2(int, int, com.oracle.truffle.api.profiles.BranchProfile, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (IILcom/oracle/truffle/api/profiles/BranchProfile;Lcom/oracle/truffle/api/profiles/BranchProfile;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
iconst_1
isub
istore 5
start local 5 1: iload 1
ifge 7
2: aload 3
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
3: iload 1
ineg
iload 5
iand
ineg
istore 6
start local 6 4: iload 6
ifne 8
5: aload 4
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
6: new java.lang.ArithmeticException
dup
invokespecial java.lang.ArithmeticException.<init>:()V
athrow
end local 6 7: StackMap locals: int
StackMap stack:
iload 1
iload 5
iand
istore 6
start local 6 8: StackMap locals: int
StackMap stack:
iload 6
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 9 1 a I
0 9 2 b I
0 9 3 negativeBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
0 9 4 negativeZeroBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
1 9 5 mask I
4 7 6 result I
8 9 6 result I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(rewriteOn = {Ljava/lang/ArithmeticException;}, guards = {"isPowOf2(b)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "create()")
3:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
a
b
negativeBranch
negativeZeroBranch
protected int doInt(int, int, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (IILcom/oracle/truffle/api/profiles/BranchProfile;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iload 2
irem
istore 4
start local 4 1: iload 4
ifne 5
2: aload 3
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
3: iload 1
ifge 5
4: new java.lang.ArithmeticException
dup
invokespecial java.lang.ArithmeticException.<init>:()V
athrow
5: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 6 1 a I
0 6 2 b I
0 6 3 specialBranch Lcom/oracle/truffle/api/profiles/BranchProfile;
1 6 4 result I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(rewriteOn = {Ljava/lang/ArithmeticException;}, guards = {"!isPowOf2(b)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
a
b
specialBranch
protected double doDouble(double, double);
descriptor: (DD)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: dload 1
dload 3
drem
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 1 1 a D
0 1 3 b D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
MethodParameters:
Name Flags
a
b
protected void doBigIntegerZeroDivision(com.oracle.truffle.js.runtime.BigInt, com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/BigInt;Lcom/oracle/truffle/js/runtime/BigInt;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "Remainder of zero division"
invokestatic com.oracle.truffle.js.runtime.Errors.createRangeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 1 1 a Lcom/oracle/truffle/js/runtime/BigInt;
0 1 2 b Lcom/oracle/truffle/js/runtime/BigInt;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isBigIntZero(b)"})
MethodParameters:
Name Flags
a
b
protected com.oracle.truffle.js.runtime.BigInt doBigInteger(com.oracle.truffle.js.runtime.BigInt, com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/BigInt;Lcom/oracle/truffle/js/runtime/BigInt;)Lcom/oracle/truffle/js/runtime/BigInt;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.BigInt.remainder:(Lcom/oracle/truffle/js/runtime/BigInt;)Lcom/oracle/truffle/js/runtime/BigInt;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 1 1 a Lcom/oracle/truffle/js/runtime/BigInt;
0 1 2 b Lcom/oracle/truffle/js/runtime/BigInt;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isBigIntZero(b)"})
MethodParameters:
Name Flags
a
b
protected java.lang.Object doGeneric(java.lang.Object, java.lang.Object, com.oracle.truffle.js.nodes.binary.JSModuloNode, com.oracle.truffle.js.nodes.cast.JSToNumericNode, com.oracle.truffle.js.nodes.cast.JSToNumericNode, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;Lcom/oracle/truffle/js/nodes/cast/JSToNumericNode;Lcom/oracle/truffle/js/nodes/cast/JSToNumericNode;Lcom/oracle/truffle/api/profiles/BranchProfile;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 4
aload 1
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumericNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 1: aload 5
aload 2
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumericNode.execute:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 2: aload 0
aload 7
aload 8
aload 6
invokevirtual com.oracle.truffle.js.nodes.binary.JSModuloNode.ensureBothSameNumericType:(Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/api/profiles/BranchProfile;)V
3: aload 3
aload 7
aload 8
invokevirtual com.oracle.truffle.js.nodes.binary.JSModuloNode.execute:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 4 1 a Ljava/lang/Object;
0 4 2 b Ljava/lang/Object;
0 4 3 nestedModuloNode Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 4 4 toNumeric1Node Lcom/oracle/truffle/js/nodes/cast/JSToNumericNode;
0 4 5 toNumeric2Node Lcom/oracle/truffle/js/nodes/cast/JSToNumericNode;
0 4 6 mixedNumericTypes Lcom/oracle/truffle/api/profiles/BranchProfile;
1 4 7 operandA Ljava/lang/Object;
2 4 8 operandB Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(replaces = {"doInt", "doDouble", "doBigIntegerZeroDivision", "doBigInteger"})
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached(value = "create()")
3:
com.oracle.truffle.api.dsl.Cached(value = "create()")
4:
com.oracle.truffle.api.dsl.Cached(value = "create()")
5:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
a
b
nestedModuloNode
toNumeric1Node
toNumeric2Node
mixedNumericTypes
public boolean isResultAlwaysOfType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljava/lang/Number;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
0 2 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
clazz
protected com.oracle.truffle.js.nodes.JavaScriptNode copyUninitialized(java.util.Set<java.lang.Class<? extends com.oracle.truffle.api.instrumentation.Tag>>);
descriptor: (Ljava/util/Set;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tJSModuloNodeGen cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/nodes/binary/JSModuloNode;
Signature: (Ljava/util/Set<Ljava/lang/Class<+Lcom/oracle/truffle/api/instrumentation/Tag;>;>;)Lcom/oracle/truffle/js/nodes/JavaScriptNode;
MethodParameters:
Name Flags
materializedTags
}
SourceFile: "JSModuloNode.java"
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.NodeInfo(shortName = "%")