diff options
| author | bors <bors@rust-lang.org> | 2018-05-15 03:14:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-15 03:14:46 +0000 |
| commit | d711dc9d57b7992d1d946ba1a7e10ee6693293c2 (patch) | |
| tree | 5e43767d166ad586bb6b5fc3c9423a3b66a3c1e6 /src/rustllvm/PassWrapper.cpp | |
| parent | 308b7b05c3acfbbf5e00f16bc9cf9481ae08f4f0 (diff) | |
| parent | 6805e5abd2a6fbdca75ff3c96ee58398dcbdfd04 (diff) | |
| download | rust-d711dc9d57b7992d1d946ba1a7e10ee6693293c2.tar.gz rust-d711dc9d57b7992d1d946ba1a7e10ee6693293c2.zip | |
Auto merge of #50011 - varkor:partialord-opt-ii, r=Manishearth
Ensure derive(PartialOrd) is no longer accidentally exponential Previously, two comparison operations would be generated for each field, each of which could delegate to another derived PartialOrd. Now we use ordering and optional chaining to ensure each pair of fields is only compared once, addressing https://github.com/rust-lang/rust/issues/49650#issuecomment-379467572. Closes #49505. r? @Manishearth (sorry for changing it again so soon!) Close #50755
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
