*/
typedef struct {
unsigned node_slots; /**< The number of allocated node slots. */
- unsigned node_slots_used; /**< The number of used node slots, ie. nodes that have node data. */
+ unsigned node_slots_used; /**< The number of used node slots, i.e. nodes that have node data. */
unsigned node_map_bytes; /**< Number of used bytes for the node map. */
unsigned overall_bytes; /**< Overall number of used bytes for the phase. */
} phase_stat_t;
max_idx = MAX(max_idx, last_irg_idx);
new_cap = (size_t) (max_idx * phase->growth_factor / 256);
- phase->data_ptr = (void **)xrealloc(phase->data_ptr, new_cap * sizeof(phase->data_ptr[0]));
+ phase->data_ptr = XREALLOC(phase->data_ptr, void*, new_cap);
/* initialize the newly allocated memory. */
memset(phase->data_ptr + old_cap, 0, (new_cap - old_cap) * sizeof(phase->data_ptr[0]));