#define set_irn_dag_entry(n, e) set_irn_link(n, e)
/**
- * checks wheater a node is an arg
+ * checks wether a node is an arg
*/
static int is_arg(ir_node *node)
{
set_irn_dag_entry(node, entry);
}
- /* if this option is set, Loads are onways leaves */
+ /* if this option is set, Loads are allways leaves */
if (dag_env->options & FIRMSTAT_LOAD_IS_LEAVE && get_irn_op(node) == op_Load)
return;
/* count them */
irg_walk_graph(graph->irg, connect_dags, NULL, &root_env);
- printf("Graph %p %s --- %d\n", graph->irg, get_entity_name(get_irg_entity(graph->irg)),
+ printf("Graph %p %s --- %d\n", (void *)graph->irg, get_entity_name(get_irg_entity(graph->irg)),
root_env.num_of_dags);
for (id = 0, entry = root_env.list_of_dags; entry; entry = entry->next) {