about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-06-12 15:45:00 +0200
committerGitHub <noreply@github.com>2024-06-12 15:45:00 +0200
commit7a4f55bea28e44b6d485d08bedae0bd2786641d0 (patch)
treec9911faaec24f48407f6a8356fa3a291f31625d3 /compiler/rustc_codegen_llvm/src
parentd1414c5e0dcfcd65325f575ad6393e47bf0f2502 (diff)
parent2fa78f3a2a87a7522d3c95bd9c53aaeede63996e (diff)
downloadrust-7a4f55bea28e44b6d485d08bedae0bd2786641d0.tar.gz
rust-7a4f55bea28e44b6d485d08bedae0bd2786641d0.zip
Rollup merge of #126294 - Zalathar:spans-refiner, r=oli-obk
coverage: Replace the old span refiner with a single function

As more and more of the span refiner's functionality has been pulled out into separate early passes, it has finally reached the point where we can remove the rest of the old `SpansRefiner` code, and replace it with a single modestly-sized function.

~~There should be no change to the resulting coverage mappings, as demonstrated by the lack of changes to test output.~~

There is *almost* no change to the resulting coverage mappings. There are some minor changes to `loop` that on inspection appear to be neutral in terms of accuracy, with the old behaviour being a slightly-horrifying implementation detail of the old code, so I think they're acceptable.

Previous work in this direction includes:
- #125921
- #121019
- #119208
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions