diff options
| author | bors <bors@rust-lang.org> | 2015-08-16 02:25:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-08-16 02:25:36 +0000 |
| commit | fc7efab3ab48e119e1a59281c26e666634ad1224 (patch) | |
| tree | 6c179c8be107f4c9dbaa761367ce6f045003d512 /src/rustllvm/RustWrapper.cpp | |
| parent | f05b22efb5e739b92b47527d29c5fa903f7e64b6 (diff) | |
| parent | 7a3a1be5e462775ff5556db79c35ea5979aac8f8 (diff) | |
| download | rust-fc7efab3ab48e119e1a59281c26e666634ad1224.tar.gz rust-fc7efab3ab48e119e1a59281c26e666634ad1224.zip | |
Auto merge of #27851 - nikomatsakis:cleanup-ty-decoder, r=eddyb
Just a little code cleanup I was doing as part of another refactoring (which may turn out not to be needed). The main thrust of this is to cleanup the interface to `tydecode.rs` to be less ridiculously repetitive. I also purged the generic "def-id conversion" parameter in favor of a trait object, just to reduce code duplication a bit and make the signatures a bit less messy. I measured the bootstrapping time to build stage2 with these changes, it was identical. (But it'd be easy enough to restore the unboxed closure if we wanted it.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
