diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-05-21 10:36:32 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-06-09 07:55:34 +1000 |
| commit | 5ceff6b96af9a21e044545b9e064433feccaf659 (patch) | |
| tree | fdce9ec4630350bbe753ca25e2c1a3050f50ac86 /src/rustllvm/RustWrapper.cpp | |
| parent | bc10b68e798477066d4b1ec4886a3b1cdc4feb7e (diff) | |
| download | rust-5ceff6b96af9a21e044545b9e064433feccaf659.tar.gz rust-5ceff6b96af9a21e044545b9e064433feccaf659.zip | |
Fix off-by-one error in `DroplessArena::alloc_raw`.
This causes unnecessary calls to `grow` when the allocation would fit exactly in the remaining space.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
