* Copyright (C) 2005 Universitaet Karlsruhe
* Released under the GPL
*/
-
-#include <stdlib.h>
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <stdlib.h>
+
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include "becopystat.h"
#include "becopyopt.h"
+#include "beirg_t.h"
/** Defines values for the ifg performance test */
#define BE_CH_PERFORMANCETEST_MIN_NODES (50)
const ir_node *node_a = *(ir_node **)a;
const ir_node *node_b = *(ir_node **)b;
- int nr_a = node_a->node_nr;
- int nr_b = node_b->node_nr;
+ long nr_a = get_irn_node_nr(node_a);
+ long nr_b = get_irn_node_nr(node_b);
return QSORT_CMP(nr_a, nr_b);
}