Arrange these steps of partitioning three address code into basic blocks.
1. mark each jump target and each instruction after a jump
2. identify the leaders among the instructions
3. form a block from each leader up to the next leader
4. take the first instruction of the program as a leader
Answer: C
The leaders are found first by the two rules, and each block then runs from one leader to just before the next. The partition is unique for a given instruction sequence. Two compilers applying the rules will always agree on the blocks.
Please log in or register to report this question.