Commit f0825538 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

irgmod: Assert that only tuple nodes are used with turn_into_tuple().

parent e86b4939
......@@ -23,6 +23,8 @@
void turn_into_tuple(ir_node *const node, int const arity,
ir_node *const *const in)
assert(get_irn_mode(node) == mode_T);
hook_replace(node, node);
set_irn_in(node, arity, in);
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