Class Label

  • All Implemented Interfaces:
    Constants, RuntimeConstants

    public final class Label
    extends Instruction
    A label instruction. This is a 0 size instruction. It is the only valid target of a branch instruction. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
    • Field Detail

      • labelCount

        static int labelCount
      • ID

        int ID
      • depth

        int depth
    • Constructor Detail

      • Label

        public Label()
        Constructor
    • Method Detail

      • getDestination

        Label getDestination()
        Get the final destination, eliminate jumps gotos, and jumps to labels that are immediately folowed by another label. The depth field is used to leave bread crumbs to avoid infinite loops.