public class org.graalvm.compiler.core.test.StableArrayReadFoldingTest 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.core.test.StableArrayReadFoldingTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  static final boolean[] STABLE_BOOLEAN_ARRAY;
    descriptor: [Z
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final int[] STABLE_INT_ARRAY;
    descriptor: [I
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final long BOOLEAN_ARRAY_BASE_OFFSET;
    descriptor: J
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static final long INT_ARRAY_BASE_OFFSET;
    descriptor: J
    flags: (0x0018) ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 37
            bipush 16
            newarray 4
            putstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
         1: .line 38
            bipush 16
            newarray 10
            putstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
         2: .line 44
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            ldc [Z
            invokevirtual sun.misc.Unsafe.arrayBaseOffset:(Ljava/lang/Class;)I
            i2l
            putstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.BOOLEAN_ARRAY_BASE_OFFSET:J
         3: .line 45
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            ldc [I
            invokevirtual sun.misc.Unsafe.arrayBaseOffset:(Ljava/lang/Class;)I
            i2l
            putstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.INT_ARRAY_BASE_OFFSET:J
         4: .line 46
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
         0: .line 35
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/StableArrayReadFoldingTest;

  protected org.graalvm.compiler.nodes.StructuredGraph parseForCompile(jdk.vm.ci.meta.ResolvedJavaMethod, org.graalvm.compiler.core.common.CompilationIdentifier, org.graalvm.compiler.options.OptionValues);
    descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=8, args_size=4
        start local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
        start local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        start local 2 // org.graalvm.compiler.core.common.CompilationIdentifier compilationId
        start local 3 // org.graalvm.compiler.options.OptionValues options
         0: .line 50
            aload 0 /* this */
            aload 1 /* method */
            aload 2 /* compilationId */
            aload 3 /* options */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.parseForCompile:(Ljdk/vm/ci/meta/ResolvedJavaMethod;Lorg/graalvm/compiler/core/common/CompilationIdentifier;Lorg/graalvm/compiler/options/OptionValues;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 4 /* graph */
        start local 4 // org.graalvm.compiler.nodes.StructuredGraph graph
         1: .line 52
            aload 4 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            ldc Lorg/graalvm/compiler/nodes/ConstantNode;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 6
      StackMap locals: org.graalvm.compiler.core.test.StableArrayReadFoldingTest jdk.vm.ci.meta.ResolvedJavaMethod org.graalvm.compiler.core.common.CompilationIdentifier org.graalvm.compiler.options.OptionValues org.graalvm.compiler.nodes.StructuredGraph top java.util.Iterator
      StackMap stack:
         2: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.nodes.ConstantNode
            astore 5 /* constantNode */
        start local 5 // org.graalvm.compiler.nodes.ConstantNode constantNode
         3: .line 53
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.test.StableArrayReadFoldingTest.getConstantReflection:()Ljdk/vm/ci/meta/ConstantReflectionProvider;
            aload 5 /* constantNode */
            invokevirtual org.graalvm.compiler.nodes.ConstantNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
            invokeinterface jdk.vm.ci.meta.ConstantReflectionProvider.readArrayLength:(Ljdk/vm/ci/meta/JavaConstant;)Ljava/lang/Integer;
            ifnull 6
         4: .line 54
            aload 4 /* graph */
            aload 5 /* constantNode */
            invokevirtual org.graalvm.compiler.nodes.ConstantNode.asJavaConstant:()Ljdk/vm/ci/meta/JavaConstant;
            iconst_1
            iconst_1
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.test.StableArrayReadFoldingTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
            invokestatic org.graalvm.compiler.nodes.ConstantNode.forConstant:(Ljdk/vm/ci/meta/JavaConstant;IZLjdk/vm/ci/meta/MetaAccessProvider;)Lorg/graalvm/compiler/nodes/ConstantNode;
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.unique:(Lorg/graalvm/compiler/graph/Node;)Lorg/graalvm/compiler/graph/Node;
            checkcast org.graalvm.compiler.nodes.ConstantNode
            astore 7 /* newConstantNode */
        start local 7 // org.graalvm.compiler.nodes.ConstantNode newConstantNode
         5: .line 55
            aload 5 /* constantNode */
            aload 7 /* newConstantNode */
            invokevirtual org.graalvm.compiler.nodes.ConstantNode.replaceAndDelete:(Lorg/graalvm/compiler/graph/Node;)V
        end local 7 // org.graalvm.compiler.nodes.ConstantNode newConstantNode
        end local 5 // org.graalvm.compiler.nodes.ConstantNode constantNode
         6: .line 52
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 58
            aload 4 /* graph */
            areturn
        end local 4 // org.graalvm.compiler.nodes.StructuredGraph graph
        end local 3 // org.graalvm.compiler.options.OptionValues options
        end local 2 // org.graalvm.compiler.core.common.CompilationIdentifier compilationId
        end local 1 // jdk.vm.ci.meta.ResolvedJavaMethod method
        end local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    8     0             this  Lorg/graalvm/compiler/core/test/StableArrayReadFoldingTest;
            0    8     1           method  Ljdk/vm/ci/meta/ResolvedJavaMethod;
            0    8     2    compilationId  Lorg/graalvm/compiler/core/common/CompilationIdentifier;
            0    8     3          options  Lorg/graalvm/compiler/options/OptionValues;
            1    8     4            graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            3    6     5     constantNode  Lorg/graalvm/compiler/nodes/ConstantNode;
            5    6     7  newConstantNode  Lorg/graalvm/compiler/nodes/ConstantNode;
    MethodParameters:
               Name  Flags
      method         
      compilationId  
      options        

  public static boolean killWithSameType();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=0
         0: .line 62
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.BOOLEAN_ARRAY_BASE_OFFSET:J
            invokevirtual sun.misc.Unsafe.getBoolean:(Ljava/lang/Object;J)Z
            istore 0 /* beforeKill */
        start local 0 // boolean beforeKill
         1: .line 63
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            iconst_0
            iconst_1
            bastore
         2: .line 64
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.BOOLEAN_ARRAY_BASE_OFFSET:J
            invokevirtual sun.misc.Unsafe.getBoolean:(Ljava/lang/Object;J)Z
            istore 1 /* afterKill */
        start local 1 // boolean afterKill
         3: .line 66
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            iconst_0
            iconst_0
            bastore
         4: .line 67
            iload 0 /* beforeKill */
            iload 1 /* afterKill */
            if_icmpne 5
            iconst_1
            ireturn
      StackMap locals: int int
      StackMap stack:
         5: iconst_0
            ireturn
        end local 1 // boolean afterKill
        end local 0 // boolean beforeKill
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    6     0  beforeKill  Z
            3    6     1   afterKill  Z

  public void testKillWithSameType();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
         0: .line 70
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/StableArrayReadFoldingTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static boolean killWithDifferentType();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=0
         0: .line 77
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.BOOLEAN_ARRAY_BASE_OFFSET:J
            invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
            istore 0 /* beforeKill */
        start local 0 // byte beforeKill
         1: .line 78
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            iconst_0
            iconst_1
            bastore
         2: .line 79
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.BOOLEAN_ARRAY_BASE_OFFSET:J
            invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
            istore 1 /* afterKill */
        start local 1 // byte afterKill
         3: .line 81
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_BOOLEAN_ARRAY:[Z
            iconst_0
            iconst_0
            bastore
         4: .line 82
            iload 0 /* beforeKill */
            iload 1 /* afterKill */
            if_icmpne 5
            iconst_1
            ireturn
      StackMap locals: int int
      StackMap stack:
         5: iconst_0
            ireturn
        end local 1 // byte afterKill
        end local 0 // byte beforeKill
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    6     0  beforeKill  B
            3    6     1   afterKill  B

  public void testKillWithDifferentType();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
         0: .line 85
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/StableArrayReadFoldingTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static boolean killWithSameTypeUnaligned();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=2, args_size=0
         0: .line 92
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.INT_ARRAY_BASE_OFFSET:J
            lconst_1
            ladd
            invokevirtual sun.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
            istore 0 /* beforeKill */
        start local 0 // int beforeKill
         1: .line 93
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            iconst_0
            ldc 16909060
            iastore
         2: .line 94
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.INT_ARRAY_BASE_OFFSET:J
            lconst_1
            ladd
            invokevirtual sun.misc.Unsafe.getInt:(Ljava/lang/Object;J)I
            istore 1 /* afterKill */
        start local 1 // int afterKill
         3: .line 96
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            iconst_0
            iconst_0
            iastore
         4: .line 97
            iload 0 /* beforeKill */
            iload 1 /* afterKill */
            if_icmpne 5
            iconst_1
            ireturn
      StackMap locals: int int
      StackMap stack:
         5: iconst_0
            ireturn
        end local 1 // int afterKill
        end local 0 // int beforeKill
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    6     0  beforeKill  I
            3    6     1   afterKill  I

  public void testKillWithSameTypeUnaligned();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
         0: .line 100
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/StableArrayReadFoldingTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static boolean killWithDifferentTypeUnaligned();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=2, args_size=0
         0: .line 108
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.INT_ARRAY_BASE_OFFSET:J
            lconst_1
            ladd
            invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
            istore 0 /* beforeKill */
        start local 0 // byte beforeKill
         1: .line 109
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            iconst_0
            ldc 16909060
            iastore
         2: .line 110
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.UNSAFE:Lsun/misc/Unsafe;
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.INT_ARRAY_BASE_OFFSET:J
            lconst_1
            ladd
            invokevirtual sun.misc.Unsafe.getByte:(Ljava/lang/Object;J)B
            istore 1 /* afterKill */
        start local 1 // byte afterKill
         3: .line 112
            getstatic org.graalvm.compiler.core.test.StableArrayReadFoldingTest.STABLE_INT_ARRAY:[I
            iconst_0
            iconst_0
            iastore
         4: .line 113
            iload 0 /* beforeKill */
            iload 1 /* afterKill */
            if_icmpne 5
            iconst_1
            ireturn
      StackMap locals: int int
      StackMap stack:
         5: iconst_0
            ireturn
        end local 1 // byte afterKill
        end local 0 // byte beforeKill
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    6     0  beforeKill  B
            3    6     1   afterKill  B

  public void testKillWithDifferentTypeUnaligned();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
         0: .line 116
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssume cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.StableArrayReadFoldingTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/StableArrayReadFoldingTest;
    RuntimeInvisibleAnnotations: 
      Test()
}
SourceFile: "StableArrayReadFoldingTest.java"
InnerClasses:
  public abstract ValueNumberable = org.graalvm.compiler.graph.Node$ValueNumberable of org.graalvm.compiler.graph.Node