edgeTo

fun edgeTo(targetBlock: L2BasicBlock, optionalName: String? = null): L2PcOperand

Create an L2PcOperand leading to the given L2BasicBlock.

Return

The new L2PcOperand.

Parameters

targetBlock

The target L2BasicBlock.

optionalName

An optional name for this edge. If omitted or null, the name that will be presented for this edge will depend on the L2Operation's list of L2NamedOperandTypes.