diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-12 12:17:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-12 12:17:54 +0200 |
| commit | ba10b13e807b4a9b6f01635d23b1eebd184c9704 (patch) | |
| tree | 8c312fbacaaa691b8c0b40b99f960f3fd5b22215 /src/test/incremental/thinlto | |
| parent | f4c8cc95389a8a0a6bca1d3a13af5f69201e68be (diff) | |
| parent | 3262d1e25242a6dc0c486e78be8b03b71a9106b7 (diff) | |
| download | rust-ba10b13e807b4a9b6f01635d23b1eebd184c9704.tar.gz rust-ba10b13e807b4a9b6f01635d23b1eebd184c9704.zip | |
Rollup merge of #59811 - vext01:dead-dominator-code, r=oli-obk
Kill dead code dominator code.
Hi,
Whilst fiddling around in the dominator code, I found some (I think) unused code. This code *was* used at the time it was imported, but over time it seems to have become redundant.
I've tested a build up to stage 1 with no problems. Maybe the tests will turn up something though.
P.S.
There is a FIXME comment in `dominators/mod.rs`:
```
pub fn is_dominated_by(&self, node: Node, dom: Node) -> bool {
// FIXME -- could be optimized by using post-order-rank
self.dominators(node).any(|n| n == dom)
}
```
I'm not sure of the intention of this comment. The `Dominators` struct already operates over post-order rank nodes. Any ideas?
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
