diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-30 09:27:48 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-30 09:27:48 +0000 |
commit | 279dc72feede56719335d771f23babe9330096a3 (patch) | |
tree | ff400275b8d7c6494715874e348b5de2b2f15faa /gcc/ebitmap.h | |
parent | 744c2d412b76c9b2abc14176d120429d7207ad95 (diff) | |
download | gcc-279dc72feede56719335d771f23babe9330096a3.tar.gz |
2009-11-30 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 154750 (or near)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@154757 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ebitmap.h')
-rw-r--r-- | gcc/ebitmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ebitmap.h b/gcc/ebitmap.h index 4f9fd44ceb3..b067ddb892a 100644 --- a/gcc/ebitmap.h +++ b/gcc/ebitmap.h @@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see #define EBITMAP_ELT_TYPE unsigned HOST_WIDEST_FAST_INT typedef struct ebitmap_def -{ +{ unsigned int n_elts; /* number of elements in the array. */ sbitmap wordmask; /* wordmask saying which words are nonzero. */ @@ -86,11 +86,11 @@ typedef struct { /* The word mask iterator. */ sbitmap_iterator maskiter; } ebitmap_iterator; - + static inline void ebitmap_iter_init (ebitmap_iterator *i, ebitmap bmp, unsigned int min) { - sbitmap_iter_init (&i->maskiter, bmp->wordmask, + sbitmap_iter_init (&i->maskiter, bmp->wordmask, min / EBITMAP_ELT_BITS); i->size = bmp->numwords; if (i->size == 0) |