diff options
| author | bors <bors@rust-lang.org> | 2018-08-05 07:06:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-05 07:06:11 +0000 |
| commit | b47c314c5652c8ecc3f086b0326f467b857b9d5b (patch) | |
| tree | c755c1c13fd5b6e908a6f315cf13640c9d04c143 /src/libstd/sys | |
| parent | ddcf17e1ed577bad26e92db3c25499620f853a49 (diff) | |
| parent | 2e2ea26a8305d44e2441b8a97e05f7f4d69f7220 (diff) | |
| download | rust-b47c314c5652c8ecc3f086b0326f467b857b9d5b.tar.gz rust-b47c314c5652c8ecc3f086b0326f467b857b9d5b.zip | |
Auto merge of #52991 - nikomatsakis:nll-escaping-into-return, r=pnkfelix
avoid computing liveness for locals that escape into statics Fixes #52713 I poked at this on the plane and I think it's working -- but I want to do a bit more investigation and double check. The idea is to identify those local variables where the entire value will "escape" into the return -- for them, we don't need to compute liveness, since we know that the outlives relations from the return type will force those regions to be equal to free regions. This should help with html5ever in particular. - [x] test performance - [x] verify correctness - [x] add comments r? @pnkfelix cc @lqd
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
