diff options
| author | Edward Wang <edward.yu.wang@gmail.com> | 2014-05-05 06:16:16 +0800 |
|---|---|---|
| committer | Edward Wang <edward.yu.wang@gmail.com> | 2014-05-05 20:17:59 +0800 |
| commit | 90449abcb30ed8b0fd1bab84f45630769f668247 (patch) | |
| tree | 2f79c88226113a85a0980b3199d42ed08e42dd56 /src/rustllvm/RustWrapper.cpp | |
| parent | 7adc48527fa0505a0cda6eaf1b6cafb01e434170 (diff) | |
| download | rust-90449abcb30ed8b0fd1bab84f45630769f668247.tar.gz rust-90449abcb30ed8b0fd1bab84f45630769f668247.zip | |
Adjust codegen logic for range and guarded arms
By carefully distinguishing falling back to the default arm from moving on to the next pattern, this patch adjusts the codegen logic for range and guarded arms of pattern matching expression. It is a more appropriate way of fixing #12582 and #13027 without causing regressions such as #13867. Closes #13867
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
