about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-04-02 22:02:46 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-04-12 17:12:02 +1000
commitbff374873136bacf8352e05f73cb3252761dc2d6 (patch)
tree6de2cd23690872465cd141d38f709b077942c2bf /src/rustllvm/RustWrapper.cpp
parent99492796dcaac41966dc54f7ab4b8e33e641bb73 (diff)
downloadrust-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