Remove redundant assert().
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 7 Nov 2012 06:58:20 +0000 (07:58 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 7 Nov 2012 06:58:20 +0000 (07:58 +0100)
get_irn_op_() checks the same.

scripts/gen_ir.py

index 171e165..dedb42c 100755 (executable)
@@ -367,7 +367,6 @@ irnode_h_template = env.from_string(
 {%- for node in nodes|isnot('custom_is') %}
 static inline int is_{{node.name}}_(const ir_node *node)
 {
-       assert(node != NULL);
        return get_irn_op_(node) == op_{{node.name}};
 }
 {%- endfor -%}