Commit 2d4a31e8 authored by Matthias Braun's avatar Matthias Braun
Browse files

simply deactivate edges instead of asserting it

[r20803]
parent 4655fec1
......@@ -439,7 +439,8 @@ void dead_node_elimination(ir_graph *irg) {
#endif
struct obstack *graveyard_obst = NULL;
struct obstack *rebirth_obst = NULL;
assert(! edges_activated(irg) && "dead node elimination requires disabled edges");
edges_deactivate(irg);
/* inform statistics that we started a dead-node elimination run */
hook_dead_node_elim(irg, 1);
......
Supports Markdown
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