about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorEdward Wang <edward.yu.wang@gmail.com>2014-03-22 20:55:46 +0800
committerEdward Wang <edward.yu.wang@gmail.com>2014-03-27 14:41:10 +0800
commit4112941202d89477f1b34f559f2c16ef981e8eb6 (patch)
treef78d7f61a434c5fcfe5cf857834017649c0c32cb /src/rustllvm/RustWrapper.cpp
parentc83994e0f492d5e416537cb7ce1063662c0e44e7 (diff)
downloadrust-4112941202d89477f1b34f559f2c16ef981e8eb6.tar.gz
rust-4112941202d89477f1b34f559f2c16ef981e8eb6.zip
_match.rs: prune sub-match tree too aggressively
The `_match.rs` takes advantage of passes prior to `trans` and
aggressively prunes the sub-match tree based on exact equality. When it
comes to literal or range, the strategy may lead to wrong result if
there's guard function or multiple patterns inside tuple.

Closes #12582.
Closes #13027.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions