NetBSD-Bugs archive

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

PR/59231 CVS commit: src/include



The following reply was made to PR lib/59231; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59231 CVS commit: src/include
Date: Sat, 29 Mar 2025 01:43:38 +0000

 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