Implement binary emitter for fpush.
[libfirm] / ir / adt / bipartite.c
index 2acb390..4c47e97 100644 (file)
@@ -19,9 +19,9 @@
 
 /**
  * @file
- * @brief  Specialized implementation for perfect bipartite matching.
- * @author Sebastian Hack
- * @cvs-id $Id$
+ * @brief   Specialized implementation for perfect bipartite matching.
+ * @author  Sebastian Hack
+ * @version $Id$
  */
 #include "config.h"
 
@@ -129,7 +129,7 @@ static int apply_alternating_path(const bipartite_t *gr, int *matching,
                        assert(!bitset_is_set(matched_left, left));
 
                        bitset_andnot(tmp, matched_right);
-                       if(bitset_popcnt(tmp) == 0)
+                       if(bitset_is_empty(tmp))
                                continue;
 
                        right = bitset_next_set(tmp, 0);