Package com.tonic.analysis.source.lower
Class LoweringContext.LoopTargets
- java.lang.Object
-
- com.tonic.analysis.source.lower.LoweringContext.LoopTargets
-
- Enclosing class:
- LoweringContext
public static final class LoweringContext.LoopTargets extends Object
Loop target information for break/continue.
-
-
Constructor Summary
Constructors Constructor Description LoopTargets(IRBlock continueTarget, IRBlock breakTarget, int finallyDepth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRBlockbreakTarget()IRBlockcontinueTarget()intfinallyDepth()The lowerer's finally-stack size at the moment this loop/switch was entered.
-
-
-
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
-
-