IUCompilerCourse / Essentials-of-Compilation

A book about compiling Racket and Python to x86-64 assembly
1.31k stars 141 forks source link

Section 4.8, `label->block` rather than CFG? #69

Closed iambrj closed 3 years ago

iambrj commented 3 years ago

Section 4.8 uses the term "control flow graph", when really what we are building is a map from labels to basic blocks, which makes it confusing. Furthermore, the actual CFG is built in the register allocation section 4.10

Wouldn't label->block be a better phrasing here?

jsiek commented 3 years ago

yes, I'll rephrase