private static final class ControlFlowOptimizer.Optimizer<B extends AbstractBlockBase<B>> extends Object
Modifier and Type | Field and Description |
---|---|
private static DebugMetric |
BLOCKS_DELETED |
private LIR |
lir |
Modifier and Type | Method and Description |
---|---|
private void |
alignBlock(B block) |
private boolean |
canDeleteBlock(B block)
Checks whether a block can be deleted.
|
private void |
deleteEmptyBlocks(List<B> blocks) |
private static final DebugMetric BLOCKS_DELETED
private boolean canDeleteBlock(B block)
block
- the block checked for deletionprivate void alignBlock(B block)
private void deleteEmptyBlocks(List<B> blocks)