about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-06-15 10:48:52 -0700
committerJosh Stone <jistone@redhat.com>2022-06-15 10:48:52 -0700
commit78577096f66acc3fe79c89c269361952b7dc0242 (patch)
treec6d5cd5a5eec239d1b6c209f0d3df48e56f84dda /compiler/rustc_mir_transform/src/coverage/debug.rs
parenta4cec9742b7e05c33c84cd75002cd56762f7e33b (diff)
downloadrust-78577096f66acc3fe79c89c269361952b7dc0242.tar.gz
rust-78577096f66acc3fe79c89c269361952b7dc0242.zip
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_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions