Package com.strobel.decompiler.ast
Class AstOptimizer.AbstractBranchBlockOptimization
java.lang.Object
com.strobel.decompiler.ast.AstOptimizer.AbstractBasicBlockOptimization
com.strobel.decompiler.ast.AstOptimizer.AbstractBranchBlockOptimization
- All Implemented Interfaces:
AstOptimizer.BasicBlockOptimization
- Direct Known Subclasses:
AstOptimizer.JoinBranchConditionsOptimization
- Enclosing class:
AstOptimizer
private abstract static class AstOptimizer.AbstractBranchBlockOptimization
extends AstOptimizer.AbstractBasicBlockOptimization
-
Field Summary
FieldsFields inherited from class com.strobel.decompiler.ast.AstOptimizer.AbstractBasicBlockOptimization
context, EMPTY_BLOCK, labelGlobalRefCount, labelToBasicBlock, method, resolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
run
(List<Node> body, BasicBlock head, int position) protected abstract boolean
run
(List<Node> body, BasicBlock branchBlock, Expression branchCondition, Label thenLabel, Label elseLabel, boolean negate)
-
Field Details
-
expression
-
label1
-
label2
-
-
Constructor Details
-
AbstractBranchBlockOptimization
-
-
Method Details
-
run
-
run
protected abstract boolean run(List<Node> body, BasicBlock branchBlock, Expression branchCondition, Label thenLabel, Label elseLabel, boolean negate)
-