]> git.lizzy.rs Git - rust.git/commit
Skip the pointless tupling/untupling of argument types in trans_closure
authorBjörn Steinbrink <bsteinbr@gmail.com>
Thu, 2 Jul 2015 16:11:24 +0000 (18:11 +0200)
committerBjörn Steinbrink <bsteinbr@gmail.com>
Thu, 2 Jul 2015 16:34:54 +0000 (18:34 +0200)
commit95c08e37872da325bb785ee4832f5cc4709c2860
tree8e55c39c462b6b71ae49e96d174093217130b8ec
parent99ca63fbd88a34ce8e2b93215d9155f551a8aaad
Skip the pointless tupling/untupling of argument types in trans_closure

The tupling only happens for actual closures, same for the untupling.
The only code that actually sees the tupled types is some debugging
output for which it is actually rather confusing to have the types
tupled, because neither the function signature in Rust nor the
function signature for LLVM has them tupled.
src/librustc_trans/trans/base.rs