projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Remove a pointless check for unique control dependencies and fix an incorrect assertion
[libfirm]
/
ir
/
ir
/
irgwalk.c
diff --git
a/ir/ir/irgwalk.c
b/ir/ir/irgwalk.c
index
10ae302
..
ceba751
100644
(file)
--- a/
ir/ir/irgwalk.c
+++ b/
ir/ir/irgwalk.c
@@
-238,7
+238,7
@@
static unsigned nodes_touched = 0;
*/
void irg_walk(ir_node *node, irg_walk_func *pre, irg_walk_func *post, void *env)
{
- assert(
node && node->kind==k_ir_node
);
+ assert(
is_ir_node(node)
);
if (get_interprocedural_view()) {
eset * irg_set = eset_create();