diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-09-29 20:34:28 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-10-03 13:32:24 +1100 |
| commit | 1fece3d84b41bf1d544e48b10823f3dade45a120 (patch) | |
| tree | e63e05c7193f5d4c7c4f04f633b4bbb14ce976cd /src/test/run-pass/thinlto | |
| parent | 8ccfc695b56c102a2e7e95719b398bfa0a5e8af1 (diff) | |
| download | rust-1fece3d84b41bf1d544e48b10823f3dade45a120.tar.gz rust-1fece3d84b41bf1d544e48b10823f3dade45a120.zip | |
Optimize plug_leaks.
This commit avoids the `fold_regions` call in `plug_leaks` when `skol_map` is empty, which is the common case. This gives speed-ups of up to 1.14x on some of the rustc-benchmarks.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
