bitmap_allocator.h: (_Bit_scan_forward) -> Made this function call __builtin_ctz...
authorDhruv Matani <dhruvbird@gmx.net>
Wed, 24 Mar 2004 18:27:43 +0000 (18:27 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 24 Mar 2004 18:27:43 +0000 (18:27 +0000)
commit71f9a9d15e0deaa0b6b80f4ad146f0840cb483b0
treede3b26ddbf345f83a698bcc2f4698d42d0a22562
parent643d3bd23efc1efa1d64147d0f777e4f0b38dac1
bitmap_allocator.h: (_Bit_scan_forward) -> Made this function call __builtin_ctz instead of the...

2004-03-24  Dhruv Matani  <dhruvbird@gmx.net>

* include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
function call __builtin_ctz instead of the while loop.
(allocate) -> If condition has __builtin_expect.
(deallocate) -> Ditto.
Renamed a few left-over variables and typedefs according to the
C++STYLE mentioned in the documentation.
Protected calls to __gthread* by __gthread_active_p(), whose value
is cached in the local variable __threads_active.

From-SVN: r79924
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/bitmap_allocator.h