aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build/include/mac/libutil.h
diff options
context:
space:
mode:
authorDoug Moore <dougm@FreeBSD.org>2022-06-25 07:40:16 +0000
committerDoug Moore <dougm@FreeBSD.org>2022-06-25 07:40:16 +0000
commit61c74fb66f1bef776923cbd5b2a62fb06b003f0c (patch)
tree50bc3db9977d63fb00771c53d5b6176c0aa90d01 /tools/build/cross-build/include/mac/libutil.h
parente3b31e23ffdf009d41a7f74ba76271f1307f44e2 (diff)
downloadsrc-main.tar.gz
src-main.zip
rb_tree: optimize tree rotationHEADmain
The RB_ROTATE macros begin with fetching a field via a pointer. In most cases, that value is one that has already been pulled into a register, and the compiler cannot infer that. So, to eliminate those needless fetches, have the caller of the RB_ROTATE macros present the data in the third macro parameter, rather than having the macro fetch it. Differential Revision: https://reviews.freebsd.org/D35520
Diffstat (limited to 'tools/build/cross-build/include/mac/libutil.h')
0 files changed, 0 insertions, 0 deletions