about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2017-02-02 20:35:54 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2017-02-10 19:44:00 +0200
commit4be18488a741b2bf9b6f32c0ae5b21f4c3f6c83e (patch)
tree71b9ba7d6d8d270759b6437e277e55b8e930d5b6 /src/test/run-pass/thinlto
parentc9939863ca5983614e8e70e0abdb088af60ac590 (diff)
downloadrust-4be18488a741b2bf9b6f32c0ae5b21f4c3f6c83e.tar.gz
rust-4be18488a741b2bf9b6f32c0ae5b21f4c3f6c83e.zip
Fix SwitchInt building in ElaborateDrops pass
Previously it used to build a switch in a way that didn’t preserve the invariat of SwitchInt. Now
it builds it in an optimal way too, where otherwise branch becomes all the branches which did not
have partial variant drops.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions