public class com.oracle.truffle.js.test.interop.BigIntTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.test.interop.BigIntTest
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/test/interop/BigIntTest;
public void testByte();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: iconst_0
anewarray java.lang.String
invokestatic com.oracle.truffle.js.test.JSTest.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
astore 4
start local 4 2: aload 4
ldc "js"
ldc "-129n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInByte:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
4: aload 4
ldc "js"
ldc "-128n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
5: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInByte:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
6: ldc -128
aload 1
invokevirtual org.graalvm.polyglot.Value.asByte:()B
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: aload 4
ldc "js"
ldc "0n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
8: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInByte:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
9: lconst_0
aload 1
invokevirtual org.graalvm.polyglot.Value.asByte:()B
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: aload 4
ldc "js"
ldc "127n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
11: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInByte:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
12: ldc 127
aload 1
invokevirtual org.graalvm.polyglot.Value.asByte:()B
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
13: aload 4
ldc "js"
ldc "128n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
14: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInByte:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
15: aload 4
ifnull 21
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
goto 21
end local 1 StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest top java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack: java.lang.Throwable
16: astore 2
aload 4
ifnull 17
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
end local 4 StackMap locals:
StackMap stack:
17: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 3
aload 2
ifnonnull 19
aload 3
astore 2
goto 20
StackMap locals:
StackMap stack:
19: aload 2
aload 3
if_acmpeq 20
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 2
athrow
start local 1 21: StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/js/test/interop/BigIntTest;
3 16 1 value Lorg/graalvm/polyglot/Value;
21 22 1 value Lorg/graalvm/polyglot/Value;
2 17 4 context Lorg/graalvm/polyglot/Context;
Exception table:
from to target type
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testShort();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: iconst_0
anewarray java.lang.String
invokestatic com.oracle.truffle.js.test.JSTest.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
astore 4
start local 4 2: aload 4
ldc "js"
ldc "-32769n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInShort:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
4: aload 4
ldc "js"
ldc "-32768n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
5: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInShort:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
6: ldc -32768
aload 1
invokevirtual org.graalvm.polyglot.Value.asShort:()S
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: aload 4
ldc "js"
ldc "0n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
8: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInShort:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
9: lconst_0
aload 1
invokevirtual org.graalvm.polyglot.Value.asShort:()S
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: aload 4
ldc "js"
ldc "32767n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
11: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInShort:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
12: ldc 32767
aload 1
invokevirtual org.graalvm.polyglot.Value.asShort:()S
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
13: aload 4
ldc "js"
ldc "32768n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
14: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInShort:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
15: aload 4
ifnull 21
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
goto 21
end local 1 StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest top java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack: java.lang.Throwable
16: astore 2
aload 4
ifnull 17
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
end local 4 StackMap locals:
StackMap stack:
17: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 3
aload 2
ifnonnull 19
aload 3
astore 2
goto 20
StackMap locals:
StackMap stack:
19: aload 2
aload 3
if_acmpeq 20
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 2
athrow
start local 1 21: StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/js/test/interop/BigIntTest;
3 16 1 value Lorg/graalvm/polyglot/Value;
21 22 1 value Lorg/graalvm/polyglot/Value;
2 17 4 context Lorg/graalvm/polyglot/Context;
Exception table:
from to target type
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testInt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: iconst_0
anewarray java.lang.String
invokestatic com.oracle.truffle.js.test.JSTest.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
astore 4
start local 4 2: aload 4
ldc "js"
ldc "-2147483649n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInInt:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
4: aload 4
ldc "js"
ldc "-2147483648n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
5: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInInt:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
6: ldc -2147483648
aload 1
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: aload 4
ldc "js"
ldc "0n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
8: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInInt:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
9: lconst_0
aload 1
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: aload 4
ldc "js"
ldc "2147483647n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
11: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInInt:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
12: ldc 2147483647
aload 1
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
13: aload 4
ldc "js"
ldc "2147483648n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
14: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInInt:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
15: aload 4
ifnull 21
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
goto 21
end local 1 StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest top java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack: java.lang.Throwable
16: astore 2
aload 4
ifnull 17
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
end local 4 StackMap locals:
StackMap stack:
17: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 3
aload 2
ifnonnull 19
aload 3
astore 2
goto 20
StackMap locals:
StackMap stack:
19: aload 2
aload 3
if_acmpeq 20
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 2
athrow
start local 1 21: StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/js/test/interop/BigIntTest;
3 16 1 value Lorg/graalvm/polyglot/Value;
21 22 1 value Lorg/graalvm/polyglot/Value;
2 17 4 context Lorg/graalvm/polyglot/Context;
Exception table:
from to target type
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testLong();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: iconst_0
anewarray java.lang.String
invokestatic com.oracle.truffle.js.test.JSTest.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
astore 4
start local 4 2: aload 4
ldc "js"
ldc "-9223372036854775809n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInLong:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
4: aload 4
ldc "js"
ldc "-9223372036854775808n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
5: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInLong:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
6: ldc -9223372036854775808
aload 1
invokevirtual org.graalvm.polyglot.Value.asLong:()J
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: aload 4
ldc "js"
ldc "0n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
8: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInLong:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
9: lconst_0
aload 1
invokevirtual org.graalvm.polyglot.Value.asLong:()J
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: aload 4
ldc "js"
ldc "9223372036854775807n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
11: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInLong:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
12: ldc 9223372036854775807
aload 1
invokevirtual org.graalvm.polyglot.Value.asLong:()J
invokestatic org.junit.Assert.assertEquals:(JJ)V
13: aload 4
ldc "js"
ldc "9223372036854775808n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
14: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInLong:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
15: aload 4
ifnull 21
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
goto 21
end local 1 StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest top java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack: java.lang.Throwable
16: astore 2
aload 4
ifnull 17
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
end local 4 StackMap locals:
StackMap stack:
17: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 3
aload 2
ifnonnull 19
aload 3
astore 2
goto 20
StackMap locals:
StackMap stack:
19: aload 2
aload 3
if_acmpeq 20
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 2
athrow
start local 1 21: StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/js/test/interop/BigIntTest;
3 16 1 value Lorg/graalvm/polyglot/Value;
21 22 1 value Lorg/graalvm/polyglot/Value;
2 17 4 context Lorg/graalvm/polyglot/Context;
Exception table:
from to target type
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testFloat();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: iconst_0
anewarray java.lang.String
invokestatic com.oracle.truffle.js.test.JSTest.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
astore 4
start local 4 2: aload 4
ldc "js"
ldc "0n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInFloat:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
4: fconst_0
aload 1
invokevirtual org.graalvm.polyglot.Value.asFloat:()F
fcmpl
ifne 5
iconst_1
goto 6
StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: invokestatic org.junit.Assert.assertTrue:(Z)V
7: aload 4
ldc "js"
ldc "2n**120n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
8: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInFloat:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
9: ldc 2.0
ldc 120.0
invokestatic java.lang.Math.pow:(DD)D
aload 1
invokevirtual org.graalvm.polyglot.Value.asFloat:()F
f2d
dcmpl
ifne 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: invokestatic org.junit.Assert.assertTrue:(Z)V
12: aload 4
ldc "js"
ldc "-(2n**120n)"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
13: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInFloat:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
14: ldc 2.0
ldc 120.0
invokestatic java.lang.Math.pow:(DD)D
dneg
aload 1
invokevirtual org.graalvm.polyglot.Value.asFloat:()F
f2d
dcmpl
ifne 15
iconst_1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: invokestatic org.junit.Assert.assertTrue:(Z)V
17: aload 4
ldc "js"
ldc "2n**160n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
18: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInFloat:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
19: aload 4
ldc "js"
ldc "-(2n**160n)"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
20: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInFloat:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
21: aload 4
ifnull 27
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
goto 27
end local 1 StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest top java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack: java.lang.Throwable
22: astore 2
aload 4
ifnull 23
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
end local 4 StackMap locals:
StackMap stack:
23: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 3
aload 2
ifnonnull 25
aload 3
astore 2
goto 26
StackMap locals:
StackMap stack:
25: aload 2
aload 3
if_acmpeq 26
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 2
athrow
start local 1 27: StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/oracle/truffle/js/test/interop/BigIntTest;
3 22 1 value Lorg/graalvm/polyglot/Value;
27 28 1 value Lorg/graalvm/polyglot/Value;
2 23 4 context Lorg/graalvm/polyglot/Context;
Exception table:
from to target type
2 21 22 any
1 24 24 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testDouble();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: iconst_0
anewarray java.lang.String
invokestatic com.oracle.truffle.js.test.JSTest.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
astore 4
start local 4 2: aload 4
ldc "js"
ldc "0n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 3: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInDouble:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
4: dconst_0
aload 1
invokevirtual org.graalvm.polyglot.Value.asDouble:()D
dcmpl
ifne 5
iconst_1
goto 6
StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: invokestatic org.junit.Assert.assertTrue:(Z)V
7: aload 4
ldc "js"
ldc "2n**1000n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
8: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInDouble:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
9: ldc 2.0
ldc 1000.0
invokestatic java.lang.Math.pow:(DD)D
aload 1
invokevirtual org.graalvm.polyglot.Value.asDouble:()D
dcmpl
ifne 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: invokestatic org.junit.Assert.assertTrue:(Z)V
12: aload 4
ldc "js"
ldc "-(2n**1000n)"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
13: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInDouble:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
14: ldc 2.0
ldc 1000.0
invokestatic java.lang.Math.pow:(DD)D
dneg
aload 1
invokevirtual org.graalvm.polyglot.Value.asDouble:()D
dcmpl
ifne 15
iconst_1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: invokestatic org.junit.Assert.assertTrue:(Z)V
17: aload 4
ldc "js"
ldc "2n**1100n"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
18: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInDouble:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
19: aload 4
ldc "js"
ldc "-(2n**1100n)"
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 1
20: aload 1
invokevirtual org.graalvm.polyglot.Value.fitsInDouble:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
21: aload 4
ifnull 27
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
goto 27
end local 1 StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest top java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
StackMap stack: java.lang.Throwable
22: astore 2
aload 4
ifnull 23
aload 4
invokevirtual org.graalvm.polyglot.Context.close:()V
end local 4 StackMap locals:
StackMap stack:
23: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 3
aload 2
ifnonnull 25
aload 3
astore 2
goto 26
StackMap locals:
StackMap stack:
25: aload 2
aload 3
if_acmpeq 26
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 2
athrow
start local 1 27: StackMap locals: com.oracle.truffle.js.test.interop.BigIntTest org.graalvm.polyglot.Value
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/oracle/truffle/js/test/interop/BigIntTest;
3 22 1 value Lorg/graalvm/polyglot/Value;
27 28 1 value Lorg/graalvm/polyglot/Value;
2 23 4 context Lorg/graalvm/polyglot/Context;
Exception table:
from to target type
2 21 22 any
1 24 24 any
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "BigIntTest.java"
InnerClasses:
public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context