From 94fae6b56dc03a704260816daa20b8ebccff00ec Mon Sep 17 00:00:00 2001
From: Wolfgang Bumiller <wry.git@bumiller.com>
Date: Tue, 15 Apr 2014 10:31:25 +0200
Subject: [PATCH] slight improvement there

---
 ir.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ir.c b/ir.c
index f8a9d28..90dff4c 100644
--- a/ir.c
+++ b/ir.c
@@ -2529,6 +2529,8 @@ static GMQCC_INLINE size_t ir_bitlist_find_first(const ir_bitlist_t *self)
     /* FIXME: optimize? only executed when a warning is issued though... */
     for (i = 0; i != size; ++i) {
         size_t bit;
+        if (!self->bits[i])
+            continue;
         for (bit = 0; bit != GMQCC_BL_BITS; ++bit) {
             if (self->bits[i] & (1<<bit))
                 return bit + i*GMQCC_BL_BITS;
-- 
2.39.5