Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Basic block, leader?

También llamado: basic block · leader

Definition 7.4 University Computer Science — Year 3 · Capítulo 7 — Intermediate Code and Code Generation

A basic block is a maximal sequence of consecutive instructions that control can enter only at the first and leave only at the last. A leader is the first instruction of a block: the first instruction of the function, every label, and every instruction that follows a jump, a branch or a return.

The control-flow graph of fib, from . The dashed blocks B3 and B6 have no predecessor: they are the jump that follows the then branch and the return added at the end of every function, and both follow a return, so no path from the entry reaches them.
The control-flow graph of fib, from Output 7.3. The dashed blocks B3 and B6 have no predecessor: they are the jump that follows the then branch and the return added at the end of every function, and both follow a return, so no path from the entry reaches them.
Leer en el capítulo →