projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d709aff
)
Remove redundant assert().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 7 Nov 2012 06:58:20 +0000
(07:58 +0100)
committer
Christoph 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
patch
|
blob
|
history
diff --git
a/scripts/gen_ir.py
b/scripts/gen_ir.py
index
171e165
..
dedb42c
100755
(executable)
--- 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 -%}