diff options
author | Akim Demaille <akim@epita.fr> | 2002-07-02 13:51:27 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2002-07-02 13:51:27 +0000 |
commit | 613f5e1a895b0742c9b6c5e9461e4cf3f7389d7e (patch) | |
tree | 0560faaca9522756393d5a9951d57b1face9a5de /lib/lbitset.c | |
parent | 524346a3a3088f7d28420fe711a7720980b88f48 (diff) | |
download | bison-613f5e1a895b0742c9b6c5e9461e4cf3f7389d7e.tar.gz |
* lib/libiberty.h: New.
* lib: Update the bitset implementation from upstream.
* src/closure.c, src/lalr.c, src/output.c, src/print_graph.c,
* src/state.c: Use BITSET_FOR_EACH, not BITSET_EXECUTE.
* src/main.c: Adjust bitset stats calls.
Diffstat (limited to 'lib/lbitset.c')
-rw-r--r-- | lib/lbitset.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/lbitset.c b/lib/lbitset.c index f426c301..972094bb 100644 --- a/lib/lbitset.c +++ b/lib/lbitset.c @@ -40,9 +40,7 @@ but the more memory wasted for sparse bitsets and the longer the time to search for set bits. */ -#ifndef LBITSET_ELT_WORDS #define LBITSET_ELT_WORDS 2 -#endif typedef bitset_word lbitset_word; @@ -139,9 +137,6 @@ lbitset_elt_alloc () } else { - /* We can't use gcc_obstack_init to initialize the obstack since - print-rtl.c now calls bitset functions, and bitset is linked - into the gen* functions. */ if (!lbitset_obstack_init) { lbitset_obstack_init = 1; @@ -184,7 +179,7 @@ lbitset_elt_alloc () } -/* Allocate a lbitset element. The bits are not cleared. */ +/* Allocate a lbitset element. The bits are cleared. */ static inline lbitset_elt * lbitset_elt_calloc () { |