diff options
| author | varkor <github@varkor.com> | 2018-04-16 23:32:28 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-04-25 11:26:47 +0100 |
| commit | 6eb4f0f7fd44026a2353a620dee39d379a8e4a29 (patch) | |
| tree | 32a1651b426cfd9bf19338ff65f86d4ac3fa5409 /src/rustllvm/PassWrapper.cpp | |
| parent | cc794209681d6b11a63282bcd1513caa50127816 (diff) | |
| download | rust-6eb4f0f7fd44026a2353a620dee39d379a8e4a29.tar.gz rust-6eb4f0f7fd44026a2353a620dee39d379a8e4a29.zip | |
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.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
