Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/include



Module Name:    src
Committed By:   riastradh
Date:           Sat Mar 29 01:43:38 UTC 2025

Modified Files:
        src/include: assert.h

Log Message:
assert.h: Sprinkle __predict_true.

Assertions are always supposed to be true, so this should be a good
prediction.

This matches what we have done for KASSERT in the kernel since the
year 2000.

PR lib/59231: assert.h: missing branch prediction


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/include/assert.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index