cvs commit: src/include _ctype.h
Tim J. Robbins
tjr at FreeBSD.org
Sat Aug 21 00:00:41 PDT 2004
tjr 2004-08-21 07:00:40 UTC
FreeBSD src repository
Modified files:
include _ctype.h
Log:
Let GCC know that ___runetype(), ___tolower() and ___toupper() are pure
functions, allowing it to generate better code for the <ctype.h> and
<wctype.h> functions. For example, it can now keep _CurrentRuneLocale
in a register across calls to these functions, and can delete calls to
___runetype() if the result is already known or not used.
Revision Changes Path
1.30 +3 -3 src/include/_ctype.h
More information about the cvs-src
mailing list