Commit 2d3d1ee2 authored by yb9976's avatar yb9976
Browse files

Assert kind of each operand.

parent 8a8016af
......@@ -154,7 +154,7 @@ void set_irn_in(ir_node *const node, int const arity, ir_node *const *const in)
assert(arity >= 0);
#ifndef NDEBUG
for (int i = 0; i < arity; ++i) {
assert(in[i] != NULL && in[0]->kind == k_ir_node);
assert(in[i] != NULL && in[i]->kind == k_ir_node);
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment