diff options
| author | Jakub Wieczorek <jakub@jakub.cc> | 2014-10-11 14:05:16 +0200 |
|---|---|---|
| committer | Jakub Wieczorek <jakub@jakub.cc> | 2014-10-12 20:36:48 +0200 |
| commit | 0c48c5712dc52bb1f9e70181f1b68feff75269c2 (patch) | |
| tree | 88c83fd0a0976e977e5c24f75b534e838cbf33dc /src/rustllvm/RustWrapper.cpp | |
| parent | 86509d8d7ab68c5e4202dea9ff1bfb79409f2f8d (diff) | |
| download | rust-0c48c5712dc52bb1f9e70181f1b68feff75269c2.tar.gz rust-0c48c5712dc52bb1f9e70181f1b68feff75269c2.zip | |
Never expand specialized columns that only contain wild patterns in them
Doing so would incur deeply nested expansion of the tree with no useful side effects. This is problematic for "wide" data types such as structs with dozens of fields but where only a few are actually being matched or bound. Most notably, matching a fixed slice would use a number of stack frames that grows with the number of elements in the slice. Fixes #17877.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
