about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-17 02:32:14 +0000
committerbors <bors@rust-lang.org>2022-06-17 02:32:14 +0000
commit3cf1275ecced3ef088e030a697ff442a7740ae54 (patch)
tree1587dac277bc46027c7881c85dcc4078009ccdb1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent349bda2051e94b7aefb33d6541f48f561bf06dbc (diff)
parent78577096f66acc3fe79c89c269361952b7dc0242 (diff)
downloadrust-3cf1275ecced3ef088e030a697ff442a7740ae54.tar.gz
rust-3cf1275ecced3ef088e030a697ff442a7740ae54.zip
Auto merge of #98143 - cuviper:futex-rwlock-inline, r=thomcc
Add `#[inline]` to small fns of futex `RwLock`

The important methods like `read` and `write` were already inlined,
which can propagate all the way to inlining in user code, but these
small state functions were left behind as normal calls. They should
almost always be inlined as well, as they're just a few instructions.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions