final class com.oracle.truffle.js.runtime.builtins.JSAbstractArray$DefaultJSArrayDoubleComparator implements java.util.Comparator<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.builtins.JSAbstractArray$DefaultJSArrayDoubleComparator
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSAbstractArray$DefaultJSArrayDoubleComparator;
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast java.lang.Number
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleValue:(Ljava/lang/Number;)D
dstore 3
start local 3 1: aload 2
checkcast java.lang.Number
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleValue:(Ljava/lang/Number;)D
dstore 5
start local 5 2: dload 3
dload 5
dcmpl
ifne 4
3: iconst_0
ireturn
4: StackMap locals: double double
StackMap stack:
dload 3
dconst_0
dcmpg
ifgt 6
dload 5
dconst_0
dcmpl
ifle 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
dload 5
dconst_0
dcmpg
ifgt 8
dload 3
dconst_0
dcmpl
ifle 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
dload 3
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleToString:(D)Ljava/lang/String;
astore 7
start local 7 9: dload 5
invokestatic com.oracle.truffle.js.runtime.JSRuntime.doubleToString:(D)Ljava/lang/String;
astore 8
start local 8 10: aload 7
aload 8
invokestatic com.oracle.truffle.js.runtime.Boundaries.stringCompareTo:(Ljava/lang/String;Ljava/lang/String;)I
ireturn
end local 8 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/js/runtime/builtins/JSAbstractArray$DefaultJSArrayDoubleComparator;
0 11 1 arg0 Ljava/lang/Object;
0 11 2 arg1 Ljava/lang/Object;
1 11 3 d1 D
2 11 5 d2 D
9 11 7 str0 Ljava/lang/String;
10 11 8 str1 Ljava/lang/String;
MethodParameters:
Name Flags
arg0
arg1
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljava/lang/Object;>;
SourceFile: "JSAbstractArray.java"
NestHost: com.oracle.truffle.js.runtime.builtins.JSAbstractArray
InnerClasses:
final DefaultJSArrayDoubleComparator = com.oracle.truffle.js.runtime.builtins.JSAbstractArray$DefaultJSArrayDoubleComparator of com.oracle.truffle.js.runtime.builtins.JSAbstractArray