From: Christoph Mallon Date: Wed, 7 Nov 2012 06:58:20 +0000 (+0100) Subject: Remove redundant assert(). X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=097dbcc83119efd4bff7b9518c6274290963f4d2;p=libfirm Remove redundant assert(). get_irn_op_() checks the same. --- diff --git a/scripts/gen_ir.py b/scripts/gen_ir.py index 171e165d0..dedb42cd8 100755 --- a/scripts/gen_ir.py +++ b/scripts/gen_ir.py @@ -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 -%}