public class org.jruby.ir.representations.CFGLinearizer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.ir.representations.CFGLinearizer
  super_class: java.lang.Object
{
  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 39
            ldc Lorg/jruby/ir/representations/CFGLinearizer;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.jruby.ir.representations.CFGLinearizer.$assertionsDisabled:Z
            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.jruby.ir.representations.CFGLinearizer this
         0: .line 39
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.ir.representations.CFGLinearizer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ir/representations/CFGLinearizer;

  public static org.jruby.ir.representations.BasicBlock[] linearize(org.jruby.ir.representations.CFG);
    descriptor: (Lorg/jruby/ir/representations/CFG;)[Lorg/jruby/ir/representations/BasicBlock;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // org.jruby.ir.representations.CFG cfg
         0: .line 41
            aload 0 /* cfg */
            invokevirtual org.jruby.ir.representations.CFG.size:()I
            anewarray org.jruby.ir.representations.BasicBlock
            astore 1 /* list */
        start local 1 // org.jruby.ir.representations.BasicBlock[] list
         1: .line 42
            new java.util.BitSet
            dup
            aload 0 /* cfg */
            invokevirtual org.jruby.ir.representations.CFG.size:()I
            invokespecial java.util.BitSet.<init>:(I)V
            astore 2 /* processed */
        start local 2 // java.util.BitSet processed
         2: .line 44
            aload 0 /* cfg */
            aload 1 /* list */
            iconst_0
            aload 2 /* processed */
            aload 0 /* cfg */
            invokevirtual org.jruby.ir.representations.CFG.getEntryBB:()Lorg/jruby/ir/representations/BasicBlock;
            invokestatic org.jruby.ir.representations.CFGLinearizer.linearizeInner:(Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;ILjava/util/BitSet;Lorg/jruby/ir/representations/BasicBlock;)I
            istore 3 /* listSize */
        start local 3 // int listSize
         3: .line 45
            aload 0 /* cfg */
            aload 2 /* processed */
            invokestatic org.jruby.ir.representations.CFGLinearizer.verifyAllBasicBlocksProcessed:(Lorg/jruby/ir/representations/CFG;Ljava/util/BitSet;)V
         4: .line 46
            aload 0 /* cfg */
            aload 1 /* list */
            iload 3 /* listSize */
            invokestatic org.jruby.ir.representations.CFGLinearizer.fixupList:(Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;I)V
         5: .line 48
            aload 1 /* list */
            areturn
        end local 3 // int listSize
        end local 2 // java.util.BitSet processed
        end local 1 // org.jruby.ir.representations.BasicBlock[] list
        end local 0 // org.jruby.ir.representations.CFG cfg
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0        cfg  Lorg/jruby/ir/representations/CFG;
            1    6     1       list  [Lorg/jruby/ir/representations/BasicBlock;
            2    6     2  processed  Ljava/util/BitSet;
            3    6     3   listSize  I
    MethodParameters:
      Name  Flags
      cfg   

  private static int linearizeInner(org.jruby.ir.representations.CFG, org.jruby.ir.representations.BasicBlock[], int, java.util.BitSet, org.jruby.ir.representations.BasicBlock);
    descriptor: (Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;ILjava/util/BitSet;Lorg/jruby/ir/representations/BasicBlock;)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=9, args_size=5
        start local 0 // org.jruby.ir.representations.CFG cfg
        start local 1 // org.jruby.ir.representations.BasicBlock[] list
        start local 2 // int listSize
        start local 3 // java.util.BitSet processed
        start local 4 // org.jruby.ir.representations.BasicBlock current
         0: .line 53
            aload 3 /* processed */
            aload 4 /* current */
            invokevirtual org.jruby.ir.representations.BasicBlock.getID:()I
            invokevirtual java.util.BitSet.get:(I)Z
            ifeq 1
            iload 2 /* listSize */
            ireturn
         1: .line 56
      StackMap locals:
      StackMap stack:
            aload 0 /* cfg */
            aload 4 /* current */
            getstatic org.jruby.ir.representations.CFG$EdgeType.FALL_THROUGH:Lorg/jruby/ir/representations/CFG$EdgeType;
            invokevirtual org.jruby.ir.representations.CFG.getIncomingSourceOfType:(Lorg/jruby/ir/representations/BasicBlock;Ljava/lang/Object;)Lorg/jruby/ir/representations/BasicBlock;
            astore 5 /* source */
        start local 5 // org.jruby.ir.representations.BasicBlock source
         2: .line 57
            aload 5 /* source */
            ifnull 3
            aload 3 /* processed */
            aload 5 /* source */
            invokevirtual org.jruby.ir.representations.BasicBlock.getID:()I
            invokevirtual java.util.BitSet.get:(I)Z
            ifne 3
            iload 2 /* listSize */
            ireturn
         3: .line 59
      StackMap locals: org.jruby.ir.representations.BasicBlock
      StackMap stack:
            aload 1 /* list */
            iload 2 /* listSize */
            aload 4 /* current */
            aastore
         4: .line 60
            iinc 2 /* listSize */ 1
         5: .line 61
            aload 3 /* processed */
            aload 4 /* current */
            invokevirtual org.jruby.ir.representations.BasicBlock.getID:()I
            invokevirtual java.util.BitSet.set:(I)V
         6: .line 64
            aload 0 /* cfg */
            aload 4 /* current */
            getstatic org.jruby.ir.representations.CFG$EdgeType.FALL_THROUGH:Lorg/jruby/ir/representations/CFG$EdgeType;
            invokevirtual org.jruby.ir.representations.CFG.getOutgoingDestinationOfType:(Lorg/jruby/ir/representations/BasicBlock;Ljava/lang/Object;)Lorg/jruby/ir/representations/BasicBlock;
            astore 6 /* fallThrough */
        start local 6 // org.jruby.ir.representations.BasicBlock fallThrough
         7: .line 65
            aload 6 /* fallThrough */
            ifnull 8
            aload 0 /* cfg */
            aload 1 /* list */
            iload 2 /* listSize */
            aload 3 /* processed */
            aload 6 /* fallThrough */
            invokestatic org.jruby.ir.representations.CFGLinearizer.linearizeInner:(Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;ILjava/util/BitSet;Lorg/jruby/ir/representations/BasicBlock;)I
            istore 2 /* listSize */
         8: .line 68
      StackMap locals: org.jruby.ir.representations.BasicBlock
      StackMap stack:
            aload 0 /* cfg */
            aload 4 /* current */
            getstatic org.jruby.ir.representations.CFG$EdgeType.REGULAR:Lorg/jruby/ir/representations/CFG$EdgeType;
            invokevirtual org.jruby.ir.representations.CFG.getOutgoingDestinationsOfType:(Lorg/jruby/ir/representations/BasicBlock;Ljava/lang/Object;)Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 8
            goto 11
      StackMap locals: org.jruby.ir.representations.CFG org.jruby.ir.representations.BasicBlock[] int java.util.BitSet org.jruby.ir.representations.BasicBlock org.jruby.ir.representations.BasicBlock org.jruby.ir.representations.BasicBlock top java.util.Iterator
      StackMap stack:
         9: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.representations.BasicBlock
            astore 7 /* destination */
        start local 7 // org.jruby.ir.representations.BasicBlock destination
        10: .line 69
            aload 0 /* cfg */
            aload 1 /* list */
            iload 2 /* listSize */
            aload 3 /* processed */
            aload 7 /* destination */
            invokestatic org.jruby.ir.representations.CFGLinearizer.linearizeInner:(Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;ILjava/util/BitSet;Lorg/jruby/ir/representations/BasicBlock;)I
            istore 2 /* listSize */
        end local 7 // org.jruby.ir.representations.BasicBlock destination
        11: .line 68
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        12: .line 73
            aload 0 /* cfg */
            aload 4 /* current */
            getstatic org.jruby.ir.representations.CFG$EdgeType.EXCEPTION:Lorg/jruby/ir/representations/CFG$EdgeType;
            invokevirtual org.jruby.ir.representations.CFG.getOutgoingDestinationsOfType:(Lorg/jruby/ir/representations/BasicBlock;Ljava/lang/Object;)Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 8
            goto 15
      StackMap locals:
      StackMap stack:
        13: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.representations.BasicBlock
            astore 7 /* destination */
        start local 7 // org.jruby.ir.representations.BasicBlock destination
        14: .line 74
            aload 0 /* cfg */
            aload 1 /* list */
            iload 2 /* listSize */
            aload 3 /* processed */
            aload 7 /* destination */
            invokestatic org.jruby.ir.representations.CFGLinearizer.linearizeInner:(Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;ILjava/util/BitSet;Lorg/jruby/ir/representations/BasicBlock;)I
            istore 2 /* listSize */
        end local 7 // org.jruby.ir.representations.BasicBlock destination
        15: .line 73
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 13
        16: .line 78
            aload 0 /* cfg */
            aload 4 /* current */
            getstatic org.jruby.ir.representations.CFG$EdgeType.EXIT:Lorg/jruby/ir/representations/CFG$EdgeType;
            invokevirtual org.jruby.ir.representations.CFG.getOutgoingDestinationsOfType:(Lorg/jruby/ir/representations/BasicBlock;Ljava/lang/Object;)Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 8
            goto 19
      StackMap locals:
      StackMap stack:
        17: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.representations.BasicBlock
            astore 7 /* destination */
        start local 7 // org.jruby.ir.representations.BasicBlock destination
        18: .line 79
            aload 0 /* cfg */
            aload 1 /* list */
            iload 2 /* listSize */
            aload 3 /* processed */
            aload 7 /* destination */
            invokestatic org.jruby.ir.representations.CFGLinearizer.linearizeInner:(Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;ILjava/util/BitSet;Lorg/jruby/ir/representations/BasicBlock;)I
            istore 2 /* listSize */
        end local 7 // org.jruby.ir.representations.BasicBlock destination
        19: .line 78
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        20: .line 82
            iload 2 /* listSize */
            ireturn
        end local 6 // org.jruby.ir.representations.BasicBlock fallThrough
        end local 5 // org.jruby.ir.representations.BasicBlock source
        end local 4 // org.jruby.ir.representations.BasicBlock current
        end local 3 // java.util.BitSet processed
        end local 2 // int listSize
        end local 1 // org.jruby.ir.representations.BasicBlock[] list
        end local 0 // org.jruby.ir.representations.CFG cfg
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   21     0          cfg  Lorg/jruby/ir/representations/CFG;
            0   21     1         list  [Lorg/jruby/ir/representations/BasicBlock;
            0   21     2     listSize  I
            0   21     3    processed  Ljava/util/BitSet;
            0   21     4      current  Lorg/jruby/ir/representations/BasicBlock;
            2   21     5       source  Lorg/jruby/ir/representations/BasicBlock;
            7   21     6  fallThrough  Lorg/jruby/ir/representations/BasicBlock;
           10   11     7  destination  Lorg/jruby/ir/representations/BasicBlock;
           14   15     7  destination  Lorg/jruby/ir/representations/BasicBlock;
           18   19     7  destination  Lorg/jruby/ir/representations/BasicBlock;
    MethodParameters:
           Name  Flags
      cfg        
      list       
      listSize   
      processed  
      current    

  private static void fixupList(org.jruby.ir.representations.CFG, org.jruby.ir.representations.BasicBlock[], int);
    descriptor: (Lorg/jruby/ir/representations/CFG;[Lorg/jruby/ir/representations/BasicBlock;I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // org.jruby.ir.representations.CFG cfg
        start local 1 // org.jruby.ir.representations.BasicBlock[] list
        start local 2 // int listSize
         0: .line 89
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         1: goto 12
         2: .line 90
      StackMap locals: int
      StackMap stack:
            aload 1 /* list */
            iload 3 /* i */
            aaload
            astore 4 /* current */
        start local 4 // org.jruby.ir.representations.BasicBlock current
         3: .line 92
            aload 4 /* current */
            invokevirtual org.jruby.ir.representations.BasicBlock.isExitBB:()Z
            ifeq 6
         4: .line 93
            aload 4 /* current */
            new org.jruby.ir.instructions.ReturnInstr
            dup
            aload 0 /* cfg */
            invokevirtual org.jruby.ir.representations.CFG.getManager:()Lorg/jruby/ir/IRManager;
            invokevirtual org.jruby.ir.IRManager.getNil:()Lorg/jruby/ir/operands/Nil;
            invokespecial org.jruby.ir.instructions.ReturnInstr.<init>:(Lorg/jruby/ir/operands/Operand;)V
            invokevirtual org.jruby.ir.representations.BasicBlock.addInstr:(Lorg/jruby/ir/instructions/Instr;)V
         5: .line 94
            goto 11
         6: .line 97
      StackMap locals: org.jruby.ir.representations.BasicBlock
      StackMap stack:
            aload 4 /* current */
            invokevirtual org.jruby.ir.representations.BasicBlock.getLastInstr:()Lorg/jruby/ir/instructions/Instr;
            astore 5 /* lastInstr */
        start local 5 // org.jruby.ir.instructions.Instr lastInstr
         7: .line 98
            aload 5 /* lastInstr */
            instanceof org.jruby.ir.instructions.JumpInstr
            ifeq 10
         8: .line 99
            aload 1 /* list */
            iload 3 /* i */
            iconst_1
            iadd
            aaload
            aload 0 /* cfg */
            aload 5 /* lastInstr */
            aload 4 /* current */
            invokestatic org.jruby.ir.representations.CFGLinearizer.tryAndRemoveUnneededJump:(Lorg/jruby/ir/representations/BasicBlock;Lorg/jruby/ir/representations/CFG;Lorg/jruby/ir/instructions/Instr;Lorg/jruby/ir/representations/BasicBlock;)V
         9: .line 100
            goto 11
        10: .line 101
      StackMap locals: org.jruby.ir.instructions.Instr
      StackMap stack:
            aload 0 /* cfg */
            aload 1 /* list */
            iload 3 /* i */
            iconst_1
            iadd
            aaload
            aload 5 /* lastInstr */
            aload 4 /* current */
            invokestatic org.jruby.ir.representations.CFGLinearizer.addJumpIfNextNotDestination:(Lorg/jruby/ir/representations/CFG;Lorg/jruby/ir/representations/BasicBlock;Lorg/jruby/ir/instructions/Instr;Lorg/jruby/ir/representations/BasicBlock;)V
        end local 5 // org.jruby.ir.instructions.Instr lastInstr
        end local 4 // org.jruby.ir.representations.BasicBlock current
        11: .line 89
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        12: iload 3 /* i */
            iload 2 /* listSize */
            iconst_1
            isub
            if_icmplt 2
        end local 3 // int i
        13: .line 105
            aload 1 /* list */
            iload 2 /* listSize */
            iconst_1
            isub
            aaload
            astore 3 /* current */
        start local 3 // org.jruby.ir.representations.BasicBlock current
        14: .line 106
            aload 3 /* current */
            invokevirtual org.jruby.ir.representations.BasicBlock.isExitBB:()Z
            ifne 23
        15: .line 107
            aload 3 /* current */
            invokevirtual org.jruby.ir.representations.BasicBlock.getLastInstr:()Lorg/jruby/ir/instructions/Instr;
            astore 4 /* lastInstr */
        start local 4 // org.jruby.ir.instructions.Instr lastInstr
        16: .line 111
            getstatic org.jruby.ir.representations.CFGLinearizer.$assertionsDisabled:Z
            ifne 17
            aload 4 /* lastInstr */
            instanceof org.jruby.ir.instructions.BranchInstr
            ifeq 17
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        17: .line 113
      StackMap locals: org.jruby.ir.representations.CFG org.jruby.ir.representations.BasicBlock[] int org.jruby.ir.representations.BasicBlock org.jruby.ir.instructions.Instr
      StackMap stack:
            aload 4 /* lastInstr */
            ifnull 18
            aload 4 /* lastInstr */
            invokevirtual org.jruby.ir.instructions.Instr.getOperation:()Lorg/jruby/ir/Operation;
            invokevirtual org.jruby.ir.Operation.transfersControl:()Z
            ifne 23
        18: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* cfg */
            aload 3 /* current */
            getstatic org.jruby.ir.representations.CFG$EdgeType.EXCEPTION:Lorg/jruby/ir/representations/CFG$EdgeType;
            invokevirtual org.jruby.ir.representations.CFG.getOutgoingDestinationsNotOfType:(Lorg/jruby/ir/representations/BasicBlock;Ljava/lang/Object;)Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 5 /* iter */
        start local 5 // java.util.Iterator iter
        19: .line 121
            aload 5 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.representations.BasicBlock
            astore 6 /* target */
        start local 6 // org.jruby.ir.representations.BasicBlock target
        20: .line 122
            getstatic org.jruby.ir.representations.CFGLinearizer.$assertionsDisabled:Z
            ifne 22
            aload 6 /* target */
            ifnull 21
            aload 5 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 22
      StackMap locals: java.util.Iterator org.jruby.ir.representations.BasicBlock
      StackMap stack:
        21: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        22: .line 125
      StackMap locals:
      StackMap stack:
            aload 3 /* current */
            new org.jruby.ir.instructions.JumpInstr
            dup
            aload 6 /* target */
            invokevirtual org.jruby.ir.representations.BasicBlock.getLabel:()Lorg/jruby/ir/operands/Label;
            invokespecial org.jruby.ir.instructions.JumpInstr.<init>:(Lorg/jruby/ir/operands/Label;)V
            invokevirtual org.jruby.ir.representations.BasicBlock.addInstr:(Lorg/jruby/ir/instructions/Instr;)V
        end local 6 // org.jruby.ir.representations.BasicBlock target
        end local 5 // java.util.Iterator iter
        end local 4 // org.jruby.ir.instructions.Instr lastInstr
        23: .line 128
      StackMap locals:
      StackMap stack:
            return
        end local 3 // org.jruby.ir.representations.BasicBlock current
        end local 2 // int listSize
        end local 1 // org.jruby.ir.representations.BasicBlock[] list
        end local 0 // org.jruby.ir.representations.CFG cfg
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   24     0        cfg  Lorg/jruby/ir/representations/CFG;
            0   24     1       list  [Lorg/jruby/ir/representations/BasicBlock;
            0   24     2   listSize  I
            1   13     3          i  I
            3   11     4    current  Lorg/jruby/ir/representations/BasicBlock;
            7   11     5  lastInstr  Lorg/jruby/ir/instructions/Instr;
           14   24     3    current  Lorg/jruby/ir/representations/BasicBlock;
           16   23     4  lastInstr  Lorg/jruby/ir/instructions/Instr;
           19   23     5       iter  Ljava/util/Iterator<Lorg/jruby/ir/representations/BasicBlock;>;
           20   23     6     target  Lorg/jruby/ir/representations/BasicBlock;
    MethodParameters:
          Name  Flags
      cfg       
      list      
      listSize  

  private static void tryAndRemoveUnneededJump(org.jruby.ir.representations.BasicBlock, org.jruby.ir.representations.CFG, org.jruby.ir.instructions.Instr, org.jruby.ir.representations.BasicBlock);
    descriptor: (Lorg/jruby/ir/representations/BasicBlock;Lorg/jruby/ir/representations/CFG;Lorg/jruby/ir/instructions/Instr;Lorg/jruby/ir/representations/BasicBlock;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // org.jruby.ir.representations.BasicBlock next
        start local 1 // org.jruby.ir.representations.CFG cfg
        start local 2 // org.jruby.ir.instructions.Instr lastInstr
        start local 3 // org.jruby.ir.representations.BasicBlock current
         0: .line 131
            aload 0 /* next */
            aload 1 /* cfg */
            aload 2 /* lastInstr */
            checkcast org.jruby.ir.instructions.JumpInstr
            invokevirtual org.jruby.ir.instructions.JumpInstr.getJumpTarget:()Lorg/jruby/ir/operands/Label;
            invokevirtual org.jruby.ir.representations.CFG.getBBForLabel:(Lorg/jruby/ir/operands/Label;)Lorg/jruby/ir/representations/BasicBlock;
            if_acmpne 1
            aload 3 /* current */
            aload 2 /* lastInstr */
            invokevirtual org.jruby.ir.representations.BasicBlock.removeInstr:(Lorg/jruby/ir/instructions/Instr;)Z
            pop
         1: .line 132
      StackMap locals:
      StackMap stack:
            return
        end local 3 // org.jruby.ir.representations.BasicBlock current
        end local 2 // org.jruby.ir.instructions.Instr lastInstr
        end local 1 // org.jruby.ir.representations.CFG cfg
        end local 0 // org.jruby.ir.representations.BasicBlock next
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       next  Lorg/jruby/ir/representations/BasicBlock;
            0    2     1        cfg  Lorg/jruby/ir/representations/CFG;
            0    2     2  lastInstr  Lorg/jruby/ir/instructions/Instr;
            0    2     3    current  Lorg/jruby/ir/representations/BasicBlock;
    MethodParameters:
           Name  Flags
      next       
      cfg        
      lastInstr  
      current    

  private static void addJumpIfNextNotDestination(org.jruby.ir.representations.CFG, org.jruby.ir.representations.BasicBlock, org.jruby.ir.instructions.Instr, org.jruby.ir.representations.BasicBlock);
    descriptor: (Lorg/jruby/ir/representations/CFG;Lorg/jruby/ir/representations/BasicBlock;Lorg/jruby/ir/instructions/Instr;Lorg/jruby/ir/representations/BasicBlock;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // org.jruby.ir.representations.CFG cfg
        start local 1 // org.jruby.ir.representations.BasicBlock next
        start local 2 // org.jruby.ir.instructions.Instr lastInstr
        start local 3 // org.jruby.ir.representations.BasicBlock current
         0: .line 136
            aload 0 /* cfg */
            aload 3 /* current */
            invokevirtual org.jruby.ir.representations.CFG.getOutgoingDestinations:(Lorg/jruby/ir/representations/BasicBlock;)Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 4 /* outs */
        start local 4 // java.util.Iterator outs
         1: .line 137
            aload 4 /* outs */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 2
            aload 4 /* outs */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.representations.BasicBlock
            goto 3
      StackMap locals: java.util.Iterator
      StackMap stack:
         2: aconst_null
      StackMap locals:
      StackMap stack: org.jruby.ir.representations.BasicBlock
         3: astore 5 /* target */
        start local 5 // org.jruby.ir.representations.BasicBlock target
         4: .line 139
            aload 5 /* target */
            ifnull 7
            aload 4 /* outs */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
         5: .line 140
            aload 5 /* target */
            aload 1 /* next */
            if_acmpeq 7
            aload 2 /* lastInstr */
            ifnull 6
            aload 2 /* lastInstr */
            invokevirtual org.jruby.ir.instructions.Instr.getOperation:()Lorg/jruby/ir/Operation;
            invokevirtual org.jruby.ir.Operation.transfersControl:()Z
            ifne 7
         6: .line 141
      StackMap locals: org.jruby.ir.representations.BasicBlock
      StackMap stack:
            aload 3 /* current */
            new org.jruby.ir.instructions.JumpInstr
            dup
            aload 5 /* target */
            invokevirtual org.jruby.ir.representations.BasicBlock.getLabel:()Lorg/jruby/ir/operands/Label;
            invokespecial org.jruby.ir.instructions.JumpInstr.<init>:(Lorg/jruby/ir/operands/Label;)V
            invokevirtual org.jruby.ir.representations.BasicBlock.addInstr:(Lorg/jruby/ir/instructions/Instr;)V
         7: .line 144
      StackMap locals:
      StackMap stack:
            return
        end local 5 // org.jruby.ir.representations.BasicBlock target
        end local 4 // java.util.Iterator outs
        end local 3 // org.jruby.ir.representations.BasicBlock current
        end local 2 // org.jruby.ir.instructions.Instr lastInstr
        end local 1 // org.jruby.ir.representations.BasicBlock next
        end local 0 // org.jruby.ir.representations.CFG cfg
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    8     0        cfg  Lorg/jruby/ir/representations/CFG;
            0    8     1       next  Lorg/jruby/ir/representations/BasicBlock;
            0    8     2  lastInstr  Lorg/jruby/ir/instructions/Instr;
            0    8     3    current  Lorg/jruby/ir/representations/BasicBlock;
            1    8     4       outs  Ljava/util/Iterator<Lorg/jruby/ir/representations/BasicBlock;>;
            4    8     5     target  Lorg/jruby/ir/representations/BasicBlock;
    MethodParameters:
           Name  Flags
      cfg        
      next       
      lastInstr  
      current    

  private static void verifyAllBasicBlocksProcessed(org.jruby.ir.representations.CFG, java.util.BitSet);
    descriptor: (Lorg/jruby/ir/representations/CFG;Ljava/util/BitSet;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // org.jruby.ir.representations.CFG cfg
        start local 1 // java.util.BitSet processed
         0: .line 148
            aload 0 /* cfg */
            invokevirtual org.jruby.ir.representations.CFG.getBasicBlocks:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.jruby.ir.representations.CFG java.util.BitSet top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.jruby.ir.representations.BasicBlock
            astore 2 /* b */
        start local 2 // org.jruby.ir.representations.BasicBlock b
         2: .line 149
            aload 1 /* processed */
            aload 2 /* b */
            invokevirtual org.jruby.ir.representations.BasicBlock.getID:()I
            invokevirtual java.util.BitSet.get:(I)Z
            ifne 4
         3: .line 150
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Bad CFG linearization: BB "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* b */
            invokevirtual org.jruby.ir.representations.BasicBlock.getID:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " has been missed!"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // org.jruby.ir.representations.BasicBlock b
         4: .line 148
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 153
            return
        end local 1 // java.util.BitSet processed
        end local 0 // org.jruby.ir.representations.CFG cfg
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0        cfg  Lorg/jruby/ir/representations/CFG;
            0    6     1  processed  Ljava/util/BitSet;
            2    4     2          b  Lorg/jruby/ir/representations/BasicBlock;
    Exceptions:
      throws java.lang.RuntimeException
    MethodParameters:
           Name  Flags
      cfg        
      processed  
}
SourceFile: "CFGLinearizer.java"
InnerClasses:
  public final EdgeType = org.jruby.ir.representations.CFG$EdgeType of org.jruby.ir.representations.CFG