about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBrian Koropoff <bkoropoff@gmail.com>2014-10-18 10:46:57 -0700
committerBrian Koropoff <bkoropoff@gmail.com>2014-10-27 18:51:27 -0700
commitf0cc3a93651d237a8c5dda1571e823a3cba7ce60 (patch)
tree5df482458ebd1db8905bdbb1aa1cda0fafd68d7e /src/rustllvm/RustWrapper.cpp
parentbd7138dd698dde29fb4d7fd34529a863b85d947e (diff)
downloadrust-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