about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-11-12 13:18:51 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-11-12 13:18:51 +0530
commitb7f6d7239b03d1f7b8a9713412e1b74364879432 (patch)
tree19a1945751369cdba951ed52a2a915a05b61bd5b /src/rustllvm/RustWrapper.cpp
parent35decad78124b251822eb4666638455224d3f0c8 (diff)
parenta5e3625a552b3568343aa2affb81dba45f91054c (diff)
downloadrust-b7f6d7239b03d1f7b8a9713412e1b74364879432.tar.gz
rust-b7f6d7239b03d1f7b8a9713412e1b74364879432.zip
Rollup merge of #29776 - nikomatsakis:mir-29740, r=nrc
In previous PRs, I changed the match desugaring to generate more efficient code for ints/chars and the like. But this doesn't help when you're matching strings, ranges, or other crazy complex things (leading to #29740). This commit restructures match desugaring *yet again* to handle that case better -- basically we now degenerate to an if-else-if chain in such cases.

~~Note that this builds on https://github.com/rust-lang/rust/pull/29763 which will hopefully land soon. So ignore the first few commits.~~ landed now

r? @Aatch since he's been reviewing the other commits in this series
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions