Package jminusminus

Class CLBranchTarget

java.lang.Object
jminusminus.CLBranchTarget

class CLBranchTarget extends Object
Instances of this class form the elements of the CLBranchStack which is used for control flow analysis to compute maximum depth of operand stack for a method.
  • Field Details

    • target

      public CLInstruction target
      Target instruction.
    • stackDepth

      public int stackDepth
      Depth of stack before the target instruction is executed.
  • Constructor Details

    • CLBranchTarget

      public CLBranchTarget(CLInstruction target, int stackDepth)
      Constructs a CLBranchTarget object.
      Parameters:
      target - the target instruction.
      stackDepth - depth of stack before the target instruction is executed.