Compiler Design and Construction20805 marksBasic blocks and flow graphs
How do you recognize basic block? Discuss about the factors that affect code generator.
How do you recognize basic block? Discuss about the factors that affect code generator. [5]
--- A basic block is a sequence of consecutive statements in which flow of control enters at the beginning and leaves at the end without any halt or possibility of branching except at the end. First, we identify leaders (the first statement of a basic block) using the following rules: 1. Rule 1: ...