projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
assert that in and out entities of memperms have the same size, we produce such buggy...
[libfirm]
/
ir
/
be
/
benodesets.h
diff --git
a/ir/be/benodesets.h
b/ir/be/benodesets.h
index
c83b382
..
145fb5a
100644
(file)
--- a/
ir/be/benodesets.h
+++ b/
ir/be/benodesets.h
@@
-14,7
+14,7
@@
typedef struct pset nodeset;
/**
* Calculates a hash value for a node.
*/
/**
* Calculates a hash value for a node.
*/
-unsigned nodeset_hash(ir_node *n);
+unsigned nodeset_hash(
const
ir_node *n);
/**
* Creates a new nodeset.
/**
* Creates a new nodeset.
@@
-30,6
+30,11
@@
static INLINE nodeset *new_nodeset(int slots)
return new_pset(pset_default_ptr_cmp, slots);
}
return new_pset(pset_default_ptr_cmp, slots);
}
+/*
+ * Define some convenience macros.
+ */
+#define new_nodeset_default() new_nodeset(64)
+
/**
* Deletes a nodeset.
*
/**
* Deletes a nodeset.
*