public class org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest 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.MemoryGraphCanonicalizeTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  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.MemoryGraphCanonicalizeTest this
         0: .line 36
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest;

  public static void simpleElimination(org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject);
    descriptor: (Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest$TestObject;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject object
         0: .line 45
            aload 0 /* object */
            aload 0 /* object */
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.object:Ljava/lang/Object;
         1: .line 46
            aload 0 /* object */
            aload 0 /* object */
            getfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.integer:Ljava/lang/Integer;
            invokevirtual java.lang.Integer.intValue:()I
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.value:I
         2: .line 47
            aload 0 /* object */
            aload 0 /* object */
            getfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.integer:Ljava/lang/Integer;
            invokevirtual java.lang.Integer.intValue:()I
            iconst_2
            iadd
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.value:I
         3: .line 48
            aload 0 /* object */
            aload 0 /* object */
            getfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.integer:Ljava/lang/Integer;
            invokevirtual java.lang.Integer.intValue:()I
            iconst_3
            iadd
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.value:I
         4: .line 49
            return
        end local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject object
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0  object  Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest$TestObject;
    MethodParameters:
        Name  Flags
      object  

  public void testSimpleElimination();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest this
         0: .line 51
            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.MemoryGraphCanonicalizeTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static void complexElimination(org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject);
    descriptor: (Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest$TestObject;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject object
         0: .line 57
            aload 0 /* object */
            aload 0 /* object */
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.object:Ljava/lang/Object;
         1: .line 58
            aload 0 /* object */
            aload 0 /* object */
            getfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.integer:Ljava/lang/Integer;
            invokevirtual java.lang.Integer.intValue:()I
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.value:I
         2: .line 59
            aload 0 /* object */
            aload 0 /* object */
            getfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.integer:Ljava/lang/Integer;
            invokevirtual java.lang.Integer.intValue:()I
            iconst_2
            iadd
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.value:I
         3: .line 60
            aload 0 /* object */
            getfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.object:Ljava/lang/Object;
            ifnonnull 6
         4: .line 61
            aload 0 /* object */
            aload 0 /* object */
            getfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.integer:Ljava/lang/Integer;
            invokevirtual java.lang.Integer.intValue:()I
            iconst_3
            iadd
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.value:I
         5: .line 62
            goto 7
         6: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* object */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.object:Ljava/lang/Object;
         7: .line 65
      StackMap locals:
      StackMap stack:
            aload 0 /* object */
            iconst_1
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.written:Z
         8: .line 66
            aload 0 /* object */
            iconst_5
            putfield org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject.value:I
         9: .line 67
            return
        end local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject object
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0  object  Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest$TestObject;
    MethodParameters:
        Name  Flags
      object  

  public void testComplexElimination();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest this
         0: .line 69
            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.MemoryGraphCanonicalizeTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public void testGraph(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=3
        start local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest this
        start local 1 // java.lang.String name
        start local 2 // int expectedWrites
         0: .line 75
            aload 0 /* this */
            aload 1 /* name */
            getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.YES:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
            invokevirtual org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 3 /* graph */
        start local 3 // org.graalvm.compiler.nodes.StructuredGraph graph
         1: .line 76
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
            astore 4 /* context */
        start local 4 // org.graalvm.compiler.phases.tiers.HighTierContext context
         2: .line 77
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            astore 5 /* canonicalizer */
        start local 5 // org.graalvm.compiler.phases.common.CanonicalizerPhase canonicalizer
         3: .line 78
            new org.graalvm.compiler.phases.common.LoweringPhase
            dup
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            getstatic org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage.HIGH_TIER:Lorg/graalvm/compiler/nodes/spi/LoweringTool$StandardLoweringStage;
            invokespecial org.graalvm.compiler.phases.common.LoweringPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/nodes/spi/LoweringTool$LoweringStage;)V
            aload 3 /* graph */
            aload 4 /* context */
            invokevirtual org.graalvm.compiler.phases.common.LoweringPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
         4: .line 79
            new org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase
            dup
            aload 5 /* canonicalizer */
            new org.graalvm.compiler.phases.common.FloatingReadPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.FloatingReadPhase.<init>:()V
            invokespecial org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.<init>:(Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;Lorg/graalvm/compiler/phases/BasePhase;)V
            aload 3 /* graph */
            aload 4 /* context */
            invokevirtual org.graalvm.compiler.phases.common.IncrementalCanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
         5: .line 80
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            aload 3 /* graph */
            aload 4 /* context */
            invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
         6: .line 81
            aload 3 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            ldc Lorg/graalvm/compiler/nodes/memory/WriteNode;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.count:()I
            istore 6 /* writes */
        start local 6 // int writes
         7: .line 82
            iload 6 /* writes */
            iload 2 /* expectedWrites */
            if_icmpne 8
            iconst_1
            goto 9
      StackMap locals: org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest java.lang.String int org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.phases.tiers.HighTierContext org.graalvm.compiler.phases.common.CanonicalizerPhase int
      StackMap stack:
         8: iconst_0
      StackMap locals:
      StackMap stack: int
         9: ldc "Expected %d writes, found %d"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iload 2 /* expectedWrites */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 6 /* writes */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
        10: .line 83
            return
        end local 6 // int writes
        end local 5 // org.graalvm.compiler.phases.common.CanonicalizerPhase canonicalizer
        end local 4 // org.graalvm.compiler.phases.tiers.HighTierContext context
        end local 3 // org.graalvm.compiler.nodes.StructuredGraph graph
        end local 2 // int expectedWrites
        end local 1 // java.lang.String name
        end local 0 // org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   11     0            this  Lorg/graalvm/compiler/core/test/MemoryGraphCanonicalizeTest;
            0   11     1            name  Ljava/lang/String;
            0   11     2  expectedWrites  I
            1   11     3           graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            2   11     4         context  Lorg/graalvm/compiler/phases/tiers/HighTierContext;
            3   11     5   canonicalizer  Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;
            7   11     6          writes  I
    MethodParameters:
                Name  Flags
      name            
      expectedWrites  
}
SourceFile: "MemoryGraphCanonicalizeTest.java"
NestMembers:
  org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject
InnerClasses:
  TestObject = org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest$TestObject of org.graalvm.compiler.core.test.MemoryGraphCanonicalizeTest
  public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph
  public abstract LoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$LoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool
  public final StandardLoweringStage = org.graalvm.compiler.nodes.spi.LoweringTool$StandardLoweringStage of org.graalvm.compiler.nodes.spi.LoweringTool