aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2024-11-28 23:07:45 +0100
committerGitHub <noreply@github.com>2024-11-28 23:07:45 +0100
commitd648eed5899c4be10f1f7866eebef2bc171e673f (patch)
treee8aeae87449b946ba2694d1623af9f041c9902e4 /llvm/lib/Object/WasmObjectFile.cpp
parent59716479fc2f78ccabb2fc47b23cdc636d4ce122 (diff)
downloadllvm-d648eed5899c4be10f1f7866eebef2bc171e673f.zip
llvm-d648eed5899c4be10f1f7866eebef2bc171e673f.tar.gz
llvm-d648eed5899c4be10f1f7866eebef2bc171e673f.tar.bz2
[libc++] Simplify the implementation of reserve() and shrink_to_fit() (#113453)
Since we changed the implementation of `reserve(size_type)` to only ever extend, it doesn't make a ton of sense anymore to have `__shrink_or_extend`, since the code paths of `reserve` and `shrink_to_fit` are now almost completely separate. This patch splits up `__shrink_or_extend` so that the individual parts are in `reserve` and `shrink_to_fit` depending on where they are needed.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions