diff options
| author | Scott Olson <scott@solson.me> | 2015-12-29 22:55:38 -0600 |
|---|---|---|
| committer | Scott Olson <scott@solson.me> | 2015-12-29 22:55:38 -0600 |
| commit | b65277496c8848cd6f08b55e8b413096c74b92af (patch) | |
| tree | f8dbcc24bf2caca334e25a621eea87dc037ca6cb /src/rustllvm/RustWrapper.cpp | |
| parent | 6e2a64b57a74f35bef215972adf1b803cff288bd (diff) | |
| download | rust-b65277496c8848cd6f08b55e8b413096c74b92af.tar.gz rust-b65277496c8848cd6f08b55e8b413096c74b92af.zip | |
Fix argument indices in MIR for closures.
Previously, all references to closure arguments went to the argument before the one they should (e.g. to arg1 when it was supposed to be arg2). This was because the MIR builder did not account for the implicit arguments that come before the explicit arguments, and closures have one implicit argument - the struct containing the captures.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
