public class LoopControlFlowContext extends ControlFlowContext
ControlFlowContextManager
by the appropriate
reduction actions. A context is active while the loop's subtrees are reduced;
the LoopControlFlowContext is set up by calling
ControlFlowContextManager.startLoopControlFlowContext(IASNode)
in the
reduction's Prologue. The LoopControlFlowContext is torn down by calling
ControlFlowContextManager#finishLoopControlFlowContext(InstructionList)
in the reduction's "epilogue." ( JBURG does not have a formal epilogue construct
so for now the "epilogue" is just open coded in each reduction ).
ControlFlowContextManager#finishLoopControlFlowContext(InstructionList)
is typically one of the last actions in the epilogue, since it may add a
pending label to the reduction's result InstructionList, and the pending
label needs to be resolved to the next statement after the statement that set
up the c-f context.public Label getBreakLabel()
Copyright © 2016 The Apache Software Foundation. All rights reserved.