assert that in and out entities of memperms have the same size, we produce such buggy...
[libfirm] / ir / be / benodesets.h
index c83b382..145fb5a 100644 (file)
@@ -14,7 +14,7 @@ typedef struct pset nodeset;
 /**
  * Calculates a hash value for a node.
  */
-unsigned nodeset_hash(ir_node *n);
+unsigned nodeset_hash(const ir_node *n);
 
 /**
  * Creates a new nodeset.
@@ -30,6 +30,11 @@ static INLINE nodeset *new_nodeset(int slots)
        return new_pset(pset_default_ptr_cmp, slots);
 }
 
+/*
+ * Define some convenience macros.
+ */
+#define new_nodeset_default()    new_nodeset(64)
+
 /**
  * Deletes a nodeset.
  *