#include "belive_t.h"
#include "list.h"
-#include "irphase.h"
#include "irphase_t.h"
#include "irnode_t.h"
typedef struct _ifg_pointer_t {
const be_ifg_impl_t *impl;
const be_chordal_env_t *env;
- phase_t ph;
+ ir_phase ph;
struct obstack obst;
ptr_head_t *curr_ptr_head;
ptr_element_t *curr_element;
/* PRIVATE FUNCTIONS */
-static void *ptr_irn_data_init(phase_t *ph, ir_node *irn, void *data)
+static void *ptr_irn_data_init(ir_phase *ph, ir_node *irn, void *data)
{
ptr_head_t *head = phase_alloc(ph, sizeof(*head));
INIT_LIST_HEAD(&head->list);
ifg->node_map = pmap_create(); /* to find all nodes, should be replaced by a "keywalker" of irphase */
- phase_init(&ifg->ph, "ptr_map", env->irg, PHASE_DEFAULT_GROWTH, ptr_irn_data_init);
+ phase_init(&ifg->ph, "ptr_map", env->irg, PHASE_DEFAULT_GROWTH, ptr_irn_data_init, NULL);
obstack_init(&ifg->obst);
dom_tree_walk_irg(env->irg, find_neighbour_walker, NULL, ifg);