diff options
| author | Brian Koropoff <bkoropoff@gmail.com> | 2014-10-18 10:46:57 -0700 |
|---|---|---|
| committer | Brian Koropoff <bkoropoff@gmail.com> | 2014-10-27 18:51:27 -0700 |
| commit | f0cc3a93651d237a8c5dda1571e823a3cba7ce60 (patch) | |
| tree | 5df482458ebd1db8905bdbb1aa1cda0fafd68d7e /src/rustllvm/RustWrapper.cpp | |
| parent | bd7138dd698dde29fb4d7fd34529a863b85d947e (diff) | |
| download | rust-f0cc3a93651d237a8c5dda1571e823a3cba7ce60.tar.gz rust-f0cc3a93651d237a8c5dda1571e823a3cba7ce60.zip | |
Fix monomorphization of unboxed closures
This adds a `Substs` field to `ty_unboxed_closure` and plumbs basic handling of it throughout the compiler. trans now correctly monomorphizes captured free variables and llvm function defs. This fixes uses of unboxed closures which reference a free type or region parameter from their environment in either their signature or free variables. Closes #16791
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
