public final class com.oracle.truffle.js.runtime.SafeInteger extends java.lang.Number implements java.lang.Comparable<com.oracle.truffle.js.runtime.SafeInteger>, com.oracle.truffle.api.interop.TruffleObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.SafeInteger
super_class: java.lang.Number
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2017825230215806491
final long value;
descriptor: J
flags: (0x0010) ACC_FINAL
private void <init>(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Number.<init>:()V
1: aload 0
lload 1
putfield com.oracle.truffle.js.runtime.SafeInteger.value:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
0 3 1 value J
MethodParameters:
Name Flags
value
public static com.oracle.truffle.js.runtime.SafeInteger valueOf(int);
descriptor: (I)Lcom/oracle/truffle/js/runtime/SafeInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.js.runtime.SafeInteger
dup
iload 0
i2l
invokespecial com.oracle.truffle.js.runtime.SafeInteger.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public static com.oracle.truffle.js.runtime.SafeInteger valueOf(long);
descriptor: (J)Lcom/oracle/truffle/js/runtime/SafeInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isSafeInteger:(J)Z
ifne 3
1: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
2: new java.lang.IllegalArgumentException
dup
ldc "not in safe integer range"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
new com.oracle.truffle.js.runtime.SafeInteger
dup
lload 0
invokespecial com.oracle.truffle.js.runtime.SafeInteger.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 value J
MethodParameters:
Name Flags
value
public static com.oracle.truffle.js.runtime.SafeInteger parseUnsignedInt(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/SafeInteger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Integer.parseUnsignedInt:(Ljava/lang/String;)I
invokestatic com.oracle.truffle.js.runtime.SafeInteger.valueOf:(I)Lcom/oracle/truffle/js/runtime/SafeInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public int intValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public long longValue();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public float floatValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.SafeInteger.longValue:()J
l2f
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.SafeInteger.longValue:()J
l2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.oracle.truffle.js.runtime.SafeInteger
ifeq 3
1: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
aload 1
checkcast com.oracle.truffle.js.runtime.SafeInteger
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
lcmp
ifne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public int compareTo(com.oracle.truffle.js.runtime.SafeInteger);
descriptor: (Lcom/oracle/truffle/js/runtime/SafeInteger;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
aload 1
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
invokestatic java.lang.Long.compareUnsigned:(JJ)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
0 1 1 other Lcom/oracle/truffle/js/runtime/SafeInteger;
MethodParameters:
Name Flags
other
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public boolean isNegative();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
lconst_0
lcmp
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public com.oracle.truffle.js.runtime.SafeInteger incrementExact();
descriptor: ()Lcom/oracle/truffle/js/runtime/SafeInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
getstatic com.oracle.truffle.js.runtime.JSRuntime.MAX_SAFE_INTEGER_LONG:J
lcmp
ifne 2
1: new java.lang.ArithmeticException
dup
invokespecial java.lang.ArithmeticException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
lconst_1
ladd
invokestatic com.oracle.truffle.js.runtime.SafeInteger.valueOf:(J)Lcom/oracle/truffle/js/runtime/SafeInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public com.oracle.truffle.js.runtime.SafeInteger decrementExact();
descriptor: ()Lcom/oracle/truffle/js/runtime/SafeInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
getstatic com.oracle.truffle.js.runtime.JSRuntime.MIN_SAFE_INTEGER_LONG:J
lcmp
ifne 2
1: new java.lang.ArithmeticException
dup
invokespecial java.lang.ArithmeticException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
lconst_1
lsub
invokestatic com.oracle.truffle.js.runtime.SafeInteger.valueOf:(J)Lcom/oracle/truffle/js/runtime/SafeInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
public com.oracle.truffle.js.runtime.SafeInteger addExact(com.oracle.truffle.js.runtime.SafeInteger);
descriptor: (Lcom/oracle/truffle/js/runtime/SafeInteger;)Lcom/oracle/truffle/js/runtime/SafeInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
aload 1
getfield com.oracle.truffle.js.runtime.SafeInteger.value:J
ladd
lstore 2
start local 2 1: lload 2
getstatic com.oracle.truffle.js.runtime.JSRuntime.MIN_SAFE_INTEGER_LONG:J
lcmp
iflt 2
lload 2
getstatic com.oracle.truffle.js.runtime.JSRuntime.MAX_SAFE_INTEGER_LONG:J
lcmp
ifle 3
2: StackMap locals: long
StackMap stack:
new java.lang.ArithmeticException
dup
invokespecial java.lang.ArithmeticException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
lload 2
invokestatic com.oracle.truffle.js.runtime.SafeInteger.valueOf:(J)Lcom/oracle/truffle/js/runtime/SafeInteger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
0 4 1 other Lcom/oracle/truffle/js/runtime/SafeInteger;
1 4 2 result J
MethodParameters:
Name Flags
other
boolean hasLanguage();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Class<? extends com.oracle.truffle.api.TruffleLanguage<?>> getLanguage();
descriptor: ()Ljava/lang/Class;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Lcom/oracle/truffle/js/lang/JavaScriptLanguage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
Signature: ()Ljava/lang/Class<+Lcom/oracle/truffle/api/TruffleLanguage<*>;>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object toDisplayString(boolean);
descriptor: (Z)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.SafeInteger.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
0 1 1 allowSideEffects Z
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
allowSideEffects
boolean hasMetaObject();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object getMetaObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.runtime.interop.JSMetaType.NUMBER:Lcom/oracle/truffle/js/runtime/interop/JSMetaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/SafeInteger;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.oracle.truffle.js.runtime.SafeInteger
invokevirtual com.oracle.truffle.js.runtime.SafeInteger.compareTo:(Lcom/oracle/truffle/js/runtime/SafeInteger;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Number;Ljava/lang/Comparable<Lcom/oracle/truffle/js/runtime/SafeInteger;>;Lcom/oracle/truffle/api/interop/TruffleObject;
SourceFile: "SafeInteger.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract ValueType = com.oracle.truffle.api.CompilerDirectives$ValueType of com.oracle.truffle.api.CompilerDirectives
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;, delegateTo = "value")
com.oracle.truffle.api.CompilerDirectives$ValueType()