about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-09 21:28:58 +0000
committerbors <bors@rust-lang.org>2021-02-09 21:28:58 +0000
commit87bacf22ec93a9479dbd829de5d1917c16b17255 (patch)
tree128f7a9d7f29f84887a232267d124784eacedfb0 /compiler/rustc_codegen_llvm/src
parent097bc6a84f2280a889b9ab4b544f27851a978927 (diff)
parent5271c628be9eda5f0a4e3a5700d057ce95cf9da8 (diff)
downloadrust-87bacf22ec93a9479dbd829de5d1917c16b17255.tar.gz
rust-87bacf22ec93a9479dbd829de5d1917c16b17255.zip
Auto merge of #81132 - bugadani:map-prealloc, r=matthewjasper
Borrowck: refactor visited map to a bitset

This PR refactors `Borrows`  and the `precompute_borrows_out_of_scope` function so that this initial phase has a much reduced memory pressure. This is achieved by reducing what is stored on the heap, and also reusing heap memory as much as possible.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions