#include "irflag_t.h"
#include "irhooks.h"
+#include "iredges_t.h"
/* Defined in iropt.c */
pset *new_identities (void);
* Copies new predecessors of old node to new node remembered in link.
* Spare the Bad predecessors of Phi and Block nodes.
*/
-static void
+void
copy_preds (ir_node *n, void *env) {
ir_node *nn, *block;
int i, j, irn_arity;
struct obstack *graveyard_obst = NULL;
struct obstack *rebirth_obst = NULL;
+ edges_init_graph(irg);
+
/* inform statistics that we started a dead-node elimination run */
hook_dead_node_elim_start(irg);