final class com.oracle.truffle.js.runtime.builtins.JSAbstractArray$DefaultJSArrayIntegerComparator 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$DefaultJSArrayIntegerComparator
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$DefaultJSArrayIntegerComparator;
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, 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.toInteger:(Ljava/lang/Number;)J
l2i
istore 3
start local 3 1: aload 2
checkcast java.lang.Number
invokestatic com.oracle.truffle.js.runtime.JSRuntime.toInteger:(Ljava/lang/Number;)J
l2i
istore 4
start local 4 2: iload 3
iload 4
if_icmpne 4
3: iconst_0
ireturn
4: StackMap locals: int int
StackMap stack:
iload 3
ifgt 6
iload 4
ifle 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
iload 4
ifgt 8
iload 3
ifle 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iload 3
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 5
start local 5 9: iload 4
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
astore 6
start local 6 10: aload 5
aload 6
invokestatic com.oracle.truffle.js.runtime.Boundaries.stringCompareTo:(Ljava/lang/String;Ljava/lang/String;)I
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 11 0 this Lcom/oracle/truffle/js/runtime/builtins/JSAbstractArray$DefaultJSArrayIntegerComparator;
0 11 1 arg0 Ljava/lang/Object;
0 11 2 arg1 Ljava/lang/Object;
1 11 3 i1 I
2 11 4 i2 I
9 11 5 str0 Ljava/lang/String;
10 11 6 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 DefaultJSArrayIntegerComparator = com.oracle.truffle.js.runtime.builtins.JSAbstractArray$DefaultJSArrayIntegerComparator of com.oracle.truffle.js.runtime.builtins.JSAbstractArray