about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-05-21 10:36:32 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2020-06-09 07:55:34 +1000
commit5ceff6b96af9a21e044545b9e064433feccaf659 (patch)
treefdce9ec4630350bbe753ca25e2c1a3050f50ac86 /src/rustllvm/RustWrapper.cpp
parentbc10b68e798477066d4b1ec4886a3b1cdc4feb7e (diff)
downloadrust-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