mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-25 06:32:04 +00:00
`TerminatorCodegenHelper` has three methods `llblock`, `llbb`, and `lltarget`. They're all similar, but the names given no indication of the differences. This commit renames `lltarget` as `llbb_with_landing_pad`, and `llblock` as `llbb_with_cleanup`. These aren't fantastic names, but at least it's now clear that `llbb` is the lowest-level of the three and the other two wrap it.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.