OSDN Git Service

2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Mar 2004 18:27:43 +0000 (18:27 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Mar 2004 18:27:43 +0000 (18:27 +0000)
commit7be2559a63da241b8ef8205357d13f4910be013c
treede3b26ddbf345f83a698bcc2f4698d42d0a22562
parentc70828fbf9f5c57eaa3fa445b95d38a8db24f700
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79924 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/bitmap_allocator.h