about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-04-16 23:32:28 +0100
committervarkor <github@varkor.com>2018-04-25 11:26:47 +0100
commit6eb4f0f7fd44026a2353a620dee39d379a8e4a29 (patch)
tree32a1651b426cfd9bf19338ff65f86d4ac3fa5409 /src/rustllvm/PassWrapper.cpp
parentcc794209681d6b11a63282bcd1513caa50127816 (diff)
downloadrust-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