about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-16 02:25:36 +0000
committerbors <bors@rust-lang.org>2015-08-16 02:25:36 +0000
commitfc7efab3ab48e119e1a59281c26e666634ad1224 (patch)
tree6c179c8be107f4c9dbaa761367ce6f045003d512 /src/rustllvm/RustWrapper.cpp
parentf05b22efb5e739b92b47527d29c5fa903f7e64b6 (diff)
parent7a3a1be5e462775ff5556db79c35ea5979aac8f8 (diff)
downloadrust-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