diff options
| author | bors <bors@rust-lang.org> | 2018-03-31 04:09:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-03-31 04:09:43 +0000 |
| commit | 3c5f8509581c1a3072496db04a6af32c76d1af61 (patch) | |
| tree | 9f85ecbcf0f07ef5788d35b54ea31ef4a8fa9b04 /src/rustllvm/RustWrapper.cpp | |
| parent | 1c5283b47210e51978a32c6e76d0fb71b03e11f4 (diff) | |
| parent | ca8176d778cb1b89bf015b032872b6832be0cf8c (diff) | |
| download | rust-3c5f8509581c1a3072496db04a6af32c76d1af61.tar.gz rust-3c5f8509581c1a3072496db04a6af32c76d1af61.zip | |
Auto merge of #49472 - nikomatsakis:nll-optimize-constraint-prop-1, r=pnkfelix
optimize NLL constraint propagation a little Removes a bone-headed hot spot in NLL constant propagation; we were re-allocating the stack vector and hashmap as we repeated the DFS. This change shares those resources across each call. It also modifies the constraint list to be a linked list; arguably I should revert that, though, as this didn't turn out to be a perf hit and perhaps the old code was clearer? (Still, the new style appeals to me.) r? @pnkfelix
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
