2002-05-21 Richard Earnshaw <rearnsha@arm.com>
* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.
From-SVN: r53838
+2002-05-21 Richard Earnshaw <rearnsha@arm.com>
+
+ * bitmap.c (bitmap_find_bit): Return early if we have the correct
+ element cached.
+
2002-05-24 Neil Booth <neil@daikokuya.demon.co.uk>
* cppinit.c (mark_named_operators): Split out from init_builtins.
bitmap_element *element;
unsigned HOST_WIDE_INT indx = bit / BITMAP_ELEMENT_ALL_BITS;
- if (head->current == 0)
- return 0;
+ if (head->current == 0
+ || head->indx == indx)
+ return head->current;
if (head->indx > indx)
for (element = head->current;