Basic Blocks
2/43
• A basic block is a sequence of statements executed sequentially from beginning to end
• A leader is the first statement of a basic block
Determine the set of leaders as follows:
•The first statement is a leader
•Any statement that is the label of a goto statement is a leader
•Any statement that follows a goto  statement is a leader