diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2017-02-02 20:35:54 +0200 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2017-02-10 19:44:00 +0200 |
| commit | 4be18488a741b2bf9b6f32c0ae5b21f4c3f6c83e (patch) | |
| tree | 71b9ba7d6d8d270759b6437e277e55b8e930d5b6 /src/test/run-pass/thinlto | |
| parent | c9939863ca5983614e8e70e0abdb088af60ac590 (diff) | |
| download | rust-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
