about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorarthurprs <arthurprs@gmail.com>2018-01-26 12:49:14 +0100
committerarthurprs <arthurprs@gmail.com>2018-01-26 12:49:14 +0100
commit4f7109a42482e266410b23fedc9643a6d76e5fa5 (patch)
tree8d82492efe8eeb755fd3ddf8509696b7b2a03f10 /src/rustllvm/RustWrapper.cpp
parent0b56ab0f7b0c5e01611b7ea6a28c77bc09c26275 (diff)
downloadrust-4f7109a42482e266410b23fedc9643a6d76e5fa5.tar.gz
rust-4f7109a42482e266410b23fedc9643a6d76e5fa5.zip
Use the slice length to hint the optimizer
Using the len of the iterator doesn't give the same result.
That's also why we can't generalize it to all TrustedLen iterators.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions