Commit 2cb98f0e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

irgmod: Trigger the replace hook in kill_node().

parent 17f0e0cb
......@@ -304,6 +304,8 @@ ir_node *part_block_edges(ir_node *node)
void kill_node(ir_node *node)
{
hook_replace(node, NULL);
ir_graph *irg = get_irn_irg(node);
if (edges_activated(irg)) {
edges_node_deleted(node);
......
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