diff options
| author | bors <bors@rust-lang.org> | 2014-06-30 03:46:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-30 03:46:25 +0000 |
| commit | e25eb6b223d86047dc807a167f3dd4bf492bbf41 (patch) | |
| tree | b0c22f04747ee2122e32e8c101e371be5fca01c8 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 9ae48286a99627391e30da3888217e6050230cfe (diff) | |
| parent | ab1bd3adf673ef7a515242a2dcc09ce360d41d9c (diff) | |
| download | rust-e25eb6b223d86047dc807a167f3dd4bf492bbf41.tar.gz rust-e25eb6b223d86047dc807a167f3dd4bf492bbf41.zip | |
auto merge of #15256 : erickt/rust/optimizations, r=alexcrichton
The bug #11084 causes `option::collect` and `result::collect` about twice as slower as it should because llvm is having some trouble optimizing away the scan closure. This gets rid of it so now those functions perform equivalent to a hand written version. This also adds an impl of `Default` for `Rc` along the way.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
