public class org.graalvm.compiler.replacements.test.BitOpNodesTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.BitOpNodesTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final int INT_CONSTANT_1;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2146435056
private static final int INT_CONSTANT_2;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 69904
private static final int INT_CONSTANT_3;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final long LONG_CONSTANT_1;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -9223372036853727216
private static final long LONG_CONSTANT_2;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 69904
private static final long LONG_CONSTANT_3;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static long dummyField;
descriptor: J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
public static int bitCountIntConstantSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc -2146435056
invokestatic java.lang.Integer.bitCount:(I)I
ldc 69904
invokestatic java.lang.Integer.bitCount:(I)I
iadd
iconst_0
invokestatic java.lang.Integer.bitCount:(I)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testBitCountIntConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int bitCountLongConstantSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc -9223372036853727216
invokestatic java.lang.Long.bitCount:(J)I
ldc 69904
invokestatic java.lang.Long.bitCount:(J)I
iadd
lconst_0
invokestatic java.lang.Long.bitCount:(J)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static int bitCountIntSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 16777215
iand
sipush 255
ior
invokestatic java.lang.Integer.bitCount:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v I
MethodParameters:
Name Flags
v
public void testBitCountInt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int bitCountIntEmptySnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 16777215
iand
invokestatic java.lang.Integer.bitCount:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v I
MethodParameters:
Name Flags
v
public void testBitCountIntEmpty();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public void testBitCountLongConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int bitCountLongSnippet(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 1099511627775
land
ldc 255
lor
invokestatic java.lang.Long.bitCount:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v J
MethodParameters:
Name Flags
v
public void testBitCountLong();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int bitCountLongEmptySnippet(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 1099511627775
land
invokestatic java.lang.Long.bitCount:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v J
MethodParameters:
Name Flags
v
public void testBitCountLongEmpty();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanForwardIntConstantSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc -2146435056
invokestatic java.lang.Integer.numberOfTrailingZeros:(I)I
ldc 69904
invokestatic java.lang.Integer.numberOfTrailingZeros:(I)I
iadd
iconst_0
invokestatic java.lang.Integer.numberOfTrailingZeros:(I)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testScanForwardIntConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanForwardIntSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 65520
iand
ldc 65280
ior
invokestatic java.lang.Integer.numberOfTrailingZeros:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v I
MethodParameters:
Name Flags
v
public void testScanForwardInt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanForwardLongConstantSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc -9223372036853727216
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
ldc 69904
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
iadd
lconst_0
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testScanForwardLongConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanForwardLongSnippet(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 1099494850560
land
ldc 1095216660480
lor
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v J
MethodParameters:
Name Flags
v
public void testScanForwardLong();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanForwardLongEmptySnippet(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: lload 0
ldc 1099494850560
land
invokestatic java.lang.Long.numberOfTrailingZeros:(J)I
istore 2
start local 2 1: iload 2
i2l
putstatic org.graalvm.compiler.replacements.test.BitOpNodesTest.dummyField:J
2: iload 2
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v J
1 3 2 result I
MethodParameters:
Name Flags
v
public void testScanForwardLongEmpty();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanReverseIntConstantSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc -2146435056
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
ldc 69904
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
iadd
iconst_0
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testScanReverseIntConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanReverseIntSnippet(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 65520
iand
sipush 4080
ior
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v I
MethodParameters:
Name Flags
v
public void testScanReverseInt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanReverseLongConstantSnippet();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc -9223372036853727216
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
ldc 69904
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
iadd
lconst_0
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
public void testScanReverseLongConstant();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanReverseLongSnippet(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: lload 0
ldc 65520
land
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
istore 2
start local 2 1: iload 2
i2l
putstatic org.graalvm.compiler.replacements.test.BitOpNodesTest.dummyField:J
2: iload 2
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v J
1 3 2 result I
MethodParameters:
Name Flags
v
public void testScanReverseLong();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
public static int scanReverseLongEmptySnippet(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: lload 0
ldc 1099494850560
land
invokestatic java.lang.Long.numberOfLeadingZeros:(J)I
istore 2
start local 2 1: iload 2
i2l
putstatic org.graalvm.compiler.replacements.test.BitOpNodesTest.dummyField:J
2: iload 2
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v J
1 3 2 result I
MethodParameters:
Name Flags
v
public void testScanReverseLongEmpty();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
RuntimeInvisibleAnnotations:
Test()
private org.graalvm.compiler.nodes.ValueNode parseAndInline(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.graalvm.compiler.replacements.test.BitOpNodesTest.parseAndInline:(Ljava/lang/String;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/ValueNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private org.graalvm.compiler.nodes.ValueNode parseAndInline(java.lang.String, java.lang.Class<? extends org.graalvm.compiler.nodes.ValueNode>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Lorg/graalvm/compiler/nodes/ValueNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/BitOpNodesTest;
Signature: (Ljava/lang/String;Ljava/lang/Class<+Lorg/graalvm/compiler/nodes/ValueNode;>;)Lorg/graalvm/compiler/nodes/ValueNode;
MethodParameters:
Name Flags
name
expectedClass
}
SourceFile: "BitOpNodesTest.java"