splitEdgeWith

Create a new L2BasicBlock that will be the new target of this edge, and write an L2_JUMP into the new block to jump to the old target of this edge. Be careful to maintain predecessor order at the target block.

Return

The new L2BasicBlock that splits the given edge. This block has not yet been added to the controlFlowGraph, and the client should do this to keep the graph consistent.

Parameters

controlFlowGraph

The L2ControlFlowGraph being updated.