julia
53e07bfc - Compiler: Build the CFG of straight-line code directly

Commit
1 day ago
Compiler: Build the CFG of straight-line code directly `compute_basic_blocks` runs for every function inference starts on and for every callee source inflated for inlining, and most of these bodies are a single basic block. For those, it still collected the block starts in a `BitSet`, built the index with a comprehension and grew the entry block's predecessor list from empty. Detect straight-line code with one scan and construct its one-block CFG directly; the result is the same as from the general code. Assisted-by: Claude Code (Opus 5.5)
Author
Committer
Parents
Loading