Class BetterCFGBuilder2.WorkListItem

  • Enclosing class:
    BetterCFGBuilder2

    private static class BetterCFGBuilder2.WorkListItem
    extends java.lang.Object
    A work list item for creating the CFG for a subroutine.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private BasicBlock basicBlock  
      private org.apache.bcel.generic.InstructionHandle start  
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkListItem​(org.apache.bcel.generic.InstructionHandle start, BasicBlock basicBlock)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BasicBlock getBasicBlock()
      Get the basic block.
      org.apache.bcel.generic.InstructionHandle getStartInstruction()
      Get the start instruction.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • start

        private final org.apache.bcel.generic.InstructionHandle start
    • Constructor Detail

      • WorkListItem

        public WorkListItem​(org.apache.bcel.generic.InstructionHandle start,
                            BasicBlock basicBlock)
        Constructor.
        Parameters:
        start - first instruction in the basic block
        basicBlock - the basic block to build
    • Method Detail

      • getStartInstruction

        public org.apache.bcel.generic.InstructionHandle getStartInstruction()
        Get the start instruction.
      • getBasicBlock

        public BasicBlock getBasicBlock()
        Get the basic block.