public abstract class com.oracle.truffle.js.builtins.math.MinNode extends com.oracle.truffle.js.builtins.math.MathOperation
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.math.MinNode
super_class: com.oracle.truffle.js.builtins.math.MathOperation
{
private final com.oracle.truffle.api.profiles.ConditionProfile leftSmaller;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.profiles.ConditionProfile rightSmaller;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.profiles.ConditionProfile bothEqual;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.api.profiles.ConditionProfile negativeZero;
descriptor: Lcom/oracle/truffle/api/profiles/ConditionProfile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/builtins/math/MinNode;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.js.builtins.math.MinNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
flags: (0x0001) ACC_PUBLIC
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.builtins.math.MathOperation.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.builtins.math.MinNode.leftSmaller:Lcom/oracle/truffle/api/profiles/ConditionProfile;
2: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.builtins.math.MinNode.rightSmaller:Lcom/oracle/truffle/api/profiles/ConditionProfile;
3: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.builtins.math.MinNode.bothEqual:Lcom/oracle/truffle/api/profiles/ConditionProfile;
4: aload 0
invokestatic com.oracle.truffle.api.profiles.ConditionProfile.createBinaryProfile:()Lcom/oracle/truffle/api/profiles/ConditionProfile;
putfield com.oracle.truffle.js.builtins.math.MinNode.negativeZero:Lcom/oracle/truffle/api/profiles/ConditionProfile;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/builtins/math/MinNode;
0 6 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 6 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
private double minDoubleDouble(double, double);
descriptor: (DD)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield com.oracle.truffle.js.builtins.math.MinNode.leftSmaller:Lcom/oracle/truffle/api/profiles/ConditionProfile;
dload 1
dload 3
dcmpg
ifge 1
iconst_1
goto 2
StackMap locals:
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
1: iconst_0
StackMap locals: com.oracle.truffle.js.builtins.math.MinNode double double
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
2: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 4
3: dload 1
dreturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.math.MinNode.rightSmaller:Lcom/oracle/truffle/api/profiles/ConditionProfile;
dload 3
dload 1
dcmpg
ifge 5
iconst_1
goto 6
StackMap locals:
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
5: iconst_0
StackMap locals: com.oracle.truffle.js.builtins.math.MinNode double double
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
6: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 8
7: dload 3
dreturn
8: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.builtins.math.MinNode.bothEqual:Lcom/oracle/truffle/api/profiles/ConditionProfile;
dload 1
dload 3
dcmpl
ifne 9
iconst_1
goto 10
StackMap locals:
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
9: iconst_0
StackMap locals: com.oracle.truffle.js.builtins.math.MinNode double double
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
10: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 14
11: aload 0
getfield com.oracle.truffle.js.builtins.math.MinNode.negativeZero:Lcom/oracle/truffle/api/profiles/ConditionProfile;
dload 3
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isNegativeZero:(D)Z
invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 13
12: dload 3
dreturn
13: StackMap locals:
StackMap stack:
dload 1
dreturn
14: StackMap locals:
StackMap stack:
ldc NaN
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/js/builtins/math/MinNode;
0 15 1 a D
0 15 3 b D
MethodParameters:
Name Flags
a
b
protected static boolean caseIntInt(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.builtins.math.MinNode.$assertionsDisabled:Z
ifne 1
aload 0
arraylength
iconst_2
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
instanceof java.lang.Integer
ifeq 2
aload 0
iconst_1
aaload
instanceof java.lang.Integer
ifeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/Object;
MethodParameters:
Name Flags
args
protected static double min0Param(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)D
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc Infinity
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 args [Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"args.length == 0"})
MethodParameters:
Name Flags
args
protected double min1Param(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aaload
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.toDouble:(Ljava/lang/Object;)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/math/MinNode;
0 1 1 args [Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"args.length == 1"})
MethodParameters:
Name Flags
args
protected static int min2ParamInt(java.lang.Object[], com.oracle.truffle.api.profiles.ConditionProfile);
descriptor: ([Ljava/lang/Object;Lcom/oracle/truffle/api/profiles/ConditionProfile;)I
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 1: aload 0
iconst_1
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 2: iload 2
iload 3
aload 1
invokestatic com.oracle.truffle.js.builtins.math.MinNode.min:(IILcom/oracle/truffle/api/profiles/ConditionProfile;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/Object;
0 3 1 minProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
1 3 2 i1 I
2 3 3 i2 I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"args.length == 2", "caseIntInt(args)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached$Shared(value = "minProfile")
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
MethodParameters:
Name Flags
args
minProfile
protected java.lang.Object min2Param(java.lang.Object[], com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.js.nodes.cast.JSToNumberNode, com.oracle.truffle.js.nodes.cast.JSToNumberNode);
descriptor: ([Ljava/lang/Object;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
aload 1
iconst_0
aaload
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumberNode.executeNumber:(Ljava/lang/Object;)Ljava/lang/Number;
astore 6
start local 6 1: aload 5
aload 1
iconst_1
aaload
invokevirtual com.oracle.truffle.js.nodes.cast.JSToNumberNode.executeNumber:(Ljava/lang/Object;)Ljava/lang/Number;
astore 7
start local 7 2: aload 2
aload 6
instanceof java.lang.Integer
ifeq 3
aload 7
instanceof java.lang.Integer
ifeq 3
iconst_1
goto 4
StackMap locals: com.oracle.truffle.js.builtins.math.MinNode java.lang.Object[] com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.js.nodes.cast.JSToNumberNode com.oracle.truffle.js.nodes.cast.JSToNumberNode java.lang.Number java.lang.Number
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
3: iconst_0
StackMap locals: com.oracle.truffle.js.builtins.math.MinNode java.lang.Object[] com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.api.profiles.ConditionProfile com.oracle.truffle.js.nodes.cast.JSToNumberNode com.oracle.truffle.js.nodes.cast.JSToNumberNode java.lang.Number java.lang.Number
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
4: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 6
5: aload 6
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 7
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 3
invokestatic com.oracle.truffle.js.builtins.math.MinNode.min:(IILcom/oracle/truffle/api/profiles/ConditionProfile;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
6: StackMap locals:
StackMap stack:
aload 6
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleValue:(Ljava/lang/Number;)D
dstore 8
start local 8 7: aload 7
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleValue:(Ljava/lang/Number;)D
dstore 10
start local 10 8: aload 0
dload 8
dload 10
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.minDoubleDouble:(DD)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
end local 10 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 9 0 this Lcom/oracle/truffle/js/builtins/math/MinNode;
0 9 1 args [Ljava/lang/Object;
0 9 2 isIntBranch Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 9 3 minProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
0 9 4 toNumber1Node Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
0 9 5 toNumber2Node Lcom/oracle/truffle/js/nodes/cast/JSToNumberNode;
1 9 6 n1 Ljava/lang/Number;
2 9 7 n2 Ljava/lang/Number;
7 9 8 d1 D
8 9 10 d2 D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"args.length == 2", "!caseIntInt(args)"})
RuntimeInvisibleParameterAnnotations:
0:
1:
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
2:
com.oracle.truffle.api.dsl.Cached$Shared(value = "minProfile")
com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
3:
com.oracle.truffle.api.dsl.Cached(value = "create()")
4:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
args
isIntBranch
minProfile
toNumber1Node
toNumber2Node
protected static boolean caseIntIntInt(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.builtins.math.MinNode.$assertionsDisabled:Z
ifne 1
aload 0
arraylength
iconst_3
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
instanceof java.lang.Integer
ifeq 2
aload 0
iconst_1
aaload
instanceof java.lang.Integer
ifeq 2
aload 0
iconst_2
aaload
instanceof java.lang.Integer
ifeq 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/Object;
MethodParameters:
Name Flags
args
protected int min3ParamInt(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 1
iconst_1
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokestatic java.lang.Math.min:(II)I
aload 1
iconst_2
aaload
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokestatic java.lang.Math.min:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/builtins/math/MinNode;
0 1 1 args [Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"args.length == 3", "caseIntIntInt(args)"})
MethodParameters:
Name Flags
args
protected double min3ParamOther(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
iconst_0
aaload
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.toDouble:(Ljava/lang/Object;)D
aload 0
aload 1
iconst_1
aaload
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.toDouble:(Ljava/lang/Object;)D
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.minDoubleDouble:(DD)D
dstore 2
start local 2 1: aload 0
dload 2
aload 0
aload 1
iconst_2
aaload
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.toDouble:(Ljava/lang/Object;)D
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.minDoubleDouble:(DD)D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/math/MinNode;
0 2 1 args [Ljava/lang/Object;
1 2 2 smallest D
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"args.length == 3", "!caseIntIntInt(args)"})
MethodParameters:
Name Flags
args
protected double minGeneric(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
iconst_0
aaload
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.toDouble:(Ljava/lang/Object;)D
aload 0
aload 1
iconst_1
aaload
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.toDouble:(Ljava/lang/Object;)D
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.minDoubleDouble:(DD)D
dstore 2
start local 2 1: iconst_2
istore 4
start local 4 2: goto 5
3: StackMap locals: double int
StackMap stack:
aload 0
dload 2
aload 0
aload 1
iload 4
aaload
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.toDouble:(Ljava/lang/Object;)D
invokevirtual com.oracle.truffle.js.builtins.math.MinNode.minDoubleDouble:(DD)D
dstore 2
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 1
arraylength
if_icmplt 3
end local 4 6: dload 2
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/builtins/math/MinNode;
0 7 1 args [Ljava/lang/Object;
1 7 2 smallest D
2 6 4 i I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"args.length >= 4"})
MethodParameters:
Name Flags
args
private static int min(int, int, com.oracle.truffle.api.profiles.ConditionProfile);
descriptor: (IILcom/oracle/truffle/api/profiles/ConditionProfile;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iload 0
iload 1
if_icmpgt 1
iconst_1
goto 2
StackMap locals:
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
1: iconst_0
StackMap locals: int int com.oracle.truffle.api.profiles.ConditionProfile
StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
2: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
ifeq 3
iload 0
goto 4
StackMap locals:
StackMap stack:
3: iload 1
StackMap locals:
StackMap stack: int
4: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 a I
0 5 1 b I
0 5 2 minProfile Lcom/oracle/truffle/api/profiles/ConditionProfile;
MethodParameters:
Name Flags
a
b
minProfile
}
SourceFile: "MinNode.java"
InnerClasses:
public abstract Shared = com.oracle.truffle.api.dsl.Cached$Shared of com.oracle.truffle.api.dsl.Cached