diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-18 12:48:27 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-18 13:12:50 +1100 |
| commit | e3316ae453a86eed28840a85b12df2ea1917aac7 (patch) | |
| tree | 4981af5e3fe336cadc7ce5fb6afd787b9544838e /compiler/rustc_codegen_llvm/src | |
| parent | a1daa34ad005d0b34d30c878cb4e2e995346d300 (diff) | |
| download | rust-e3316ae453a86eed28840a85b12df2ea1917aac7.tar.gz rust-e3316ae453a86eed28840a85b12df2ea1917aac7.zip | |
Improve `MirPatch` documentation and naming.
It's currently lacking comments. This commit adds some, which is useful because there are some methods with non-obvious behaviour. The commit also renames two things: - `patch_map` becomes `term_patch_map`, because it's only about terminators. - `is_patched` becomes `is_term_patched`, for the same reason. (I would guess that originally `MirPatch` only handled terminators, and then over time it expanded to allow other modifications, but these names weren't updated.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
