L2BasicBlock

constructor(name: String, isLoopHead: Boolean = false, zone: L2ControlFlowGraph.Zone? = null)

Create a new basic block, marking it as a loop head if requested.

Parameters

name

A descriptive name for the block.

isLoopHead

Whether this block is the head of a loop. Default is false.

zone

A mechanism to visually group blocks in the L2ControlFlowGraphVisualizer, indicating the purpose of that group.