Landing: 16fdba15386b
Project / Subsystem
gcc / dom
Date
2026-10-04
Author
Aldy Hernandez
Commit
16fdba15386b41312b9e1c1a20b457c0a0c8dc2f
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- dom
- patch_id
- —
- commit_hash
- 16fdba15386b41312b9e1c1a20b457c0a0c8dc2f
- source_type
- github
- headline
- DOM: Move local functions to dom_opt_dom_walker
- tldr
- Refactors DOM pass by making local functions methods of dom_opt_dom_walker.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • dom
- • refactor
- • cleanup
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-10-04T00:00:00.000Z
Several local functions within the DOM (Dominator Tree) analysis pass have been converted into methods of the dom_opt_dom_walker class. This refactoring reduces the need to pass extensive state between functions, making the code cleaner and easier to maintain. The changes were tested on a stage1 bootstrap compilation, showing no alteration in the generated assembly output.