Class LoweringContext.LoopTargets

  • Enclosing class:
    LoweringContext

    public static final class LoweringContext.LoopTargets
    extends Object
    Loop target information for break/continue.
    • Constructor Detail

      • LoopTargets

        public LoopTargets​(IRBlock continueTarget,
                           IRBlock breakTarget,
                           int finallyDepth)
    • Method Detail

      • continueTarget

        public IRBlock continueTarget()
        Returns:
        the block a continue jumps to
      • breakTarget

        public IRBlock breakTarget()
        Returns:
        the block a break jumps to
      • finallyDepth

        public int finallyDepth()
        The lowerer's finally-stack size at the moment this loop/switch was entered.
        Returns:
        the finally-stack size at the moment this frame was entered