diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-02 22:02:46 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-12 17:12:02 +1000 |
| commit | bff374873136bacf8352e05f73cb3252761dc2d6 (patch) | |
| tree | 6de2cd23690872465cd141d38f709b077942c2bf /src/rustllvm/RustWrapper.cpp | |
| parent | 99492796dcaac41966dc54f7ab4b8e33e641bb73 (diff) | |
| download | rust-bff374873136bacf8352e05f73cb3252761dc2d6.tar.gz rust-bff374873136bacf8352e05f73cb3252761dc2d6.zip | |
libsyntax: short-circuit on non-matching variants in deriving code.
Allow a deriving instance using the generic code to short-circuit for any non-matching enum variants (grouping them all into a _ match), reducing the number of arms required. Use this to speed up the Eq & TotalEq implementations.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
