Метод | Описание | |
---|---|---|
CompoundConditionCoalescer ( Procedure proc ) : Reko.Core | ||
Transform ( ) : void |
Метод | Описание | |
---|---|---|
BuildCompoundCondition ( Reko.Core.Block blockFirst, Reko.Core.Block blockSecond, Func |
||
IsBlockSingleBranch ( Reko.Core.Block block ) : bool |
Returns true iff the block has a single instruction, a branch, and has a single predecessor.
|
|
MaybeCoalesce ( Reko.Core.Block block ) : bool |
Attempt to coalesce a block ending with a branch with a successor consisting of a single branch instruction.
|
|
RebuildCompoundGraph ( Reko.Core.Block block, Reko.Core.Block blockRedundant, Reko.Core.Block blockChain, Reko.Core.Block blockCommon ) : void |
Removes the now redundant block from the procedure graph.
|
|
ReplaceBlock ( List |
public CompoundConditionCoalescer ( Procedure proc ) : Reko.Core | ||
proc | Procedure | |
Результат | Reko.Core |