diff options
| author | bors <bors@rust-lang.org> | 2021-02-13 17:29:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-02-13 17:29:22 +0000 |
| commit | 3c10a880eca60379343a6c6d19dd5bda38ead55d (patch) | |
| tree | 8018d176ef77379f7d3f776833257fa5f7d92064 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 7e0241c63755ea28045d512b742f50b307874419 (diff) | |
| parent | 5a58cf4943da9ea50c0cc534756bee31b4ac1899 (diff) | |
| download | rust-3c10a880eca60379343a6c6d19dd5bda38ead55d.tar.gz rust-3c10a880eca60379343a6c6d19dd5bda38ead55d.zip | |
Auto merge of #81494 - cuviper:btree-node-init, r=Mark-Simulacrum
Initialize BTree nodes directly in the heap We can avoid any stack-local nodes entirely by using `Box::new_uninit`, and since the nodes are mostly `MaybeUninit` fields, we only need a couple of actual writes before `assume_init`. This should help with the stack overflows in #81444, and may also improve performance in general. r? `@Mark-Simulacrum` cc `@ssomers`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
