DEBUG_ONLY(static unsigned part_nr = 0);
#ifdef DEBUG_libfirm
-static lattice_elem_t get_partition_type(const partition_t *X);
+static INLINE lattice_elem_t get_partition_type(const partition_t *X);
/**
* Dump partition to output.
const listmap_entry_t *e1 = elt;
const listmap_entry_t *e2 = key;
+ (void) size;
return e1->id != e2->id;
} /* listmap_cmp_ptr */
const opcode_key_t *o1 = elt;
const opcode_key_t *o2 = key;
+ (void) size;
return o1->code != o2->code || o1->mode != o2->mode || o1->proj != o2->proj;
} /* cmp_opcode */
* Post-Walker, apply the analysis results;
*/
static void apply_result(ir_node *irn, void *ctx) {
- environment_t *env = ctx;
- node_t *node = get_irn_node(irn);
+ node_t *node = get_irn_node(irn);
+ (void) ctx;
if (is_Block(irn)) {
if (irn == get_irg_end_block(current_ir_graph)) {
/* the EndBlock is always reachable even if the analysis
static int dump_partition_hook(FILE *F, ir_node *n, ir_node *local) {
ir_node *irn = local != NULL ? local : n;
- node_t *node = get_irn_node(n);
+ node_t *node = get_irn_node(irn);
ir_fprintf(F, "info2 : \"partition %u type %+F\"\n", node->part->nr, node->type);
return 1;
/* register a debug mask */
FIRM_DBG_REGISTER(dbg, "firm.opt.combo");
- firm_dbg_set_mask(dbg, SET_LEVEL_1);
DB((dbg, LEVEL_1, "Doing COMBO for %+F\n", irg));