void default_dbg_info_merge_pair(ir_node *nw, ir_node *old, dbg_action info) {
dbg_info *new_db = get_irn_dbg_info(nw);
+ (void) info;
if (new_db == NULL)
set_irn_dbg_info(nw, get_irn_dbg_info(old));
} /* default_dbg_info_merge_pair */
void default_dbg_info_merge_sets(ir_node **new_nodes, int n_new_nodes,
ir_node **old_nodes, int n_old_nodes,
dbg_action info) {
+ (void) info;
if (n_old_nodes == 1) {
dbg_info *old_db = get_irn_dbg_info(old_nodes[0]);
int i;
static void dbg_new_node(void *ctx, ir_graph *irg, ir_node *node)
{
bp_nr_t key, *elem;
+ (void) ctx;
+ (void) irg;
key.nr = get_irn_node_nr(node);
key.bp.reason = BP_ON_NEW_NODE;
static void dbg_replace(void *ctx, ir_node *old, ir_node *nw)
{
bp_nr_t key, *elem;
+ (void) ctx;
key.nr = get_irn_node_nr(old);
key.bp.reason = BP_ON_REPLACE;
static void dbg_lower(void *ctx, ir_node *node)
{
bp_nr_t key, *elem;
+ (void) ctx;
key.nr = get_irn_node_nr(node);
key.bp.reason = BP_ON_LOWER;
*/
static void dbg_free_graph(void *ctx, ir_graph *irg)
{
+ (void) ctx;
{
bp_nr_t key, *elem;
key.nr = get_irg_graph_nr(irg);
*/
static void dbg_new_entity(void *ctx, ir_entity *ent)
{
+ (void) ctx;
{
bp_ident_t key, *elem;
*/
static void dbg_new_type(void *ctx, ir_type *tp)
{
+ (void) ctx;
{
bp_nr_t key, *elem;
{
const bp_nr_t *e1 = elt;
const bp_nr_t *e2 = key;
+ (void) size;
return (e1->nr - e2->nr) | (e1->bp.reason - e2->bp.reason);
} /* cmp_nr_bp */
{
const bp_ident_t *e1 = elt;
const bp_ident_t *e2 = key;
+ (void) size;
return (e1->id != e2->id) | (e1->bp.reason - e2->bp.reason);
} /* cmp_ident_bp */
/**
* Clear the old irg if it has some data and create a new one.
*/
-static void firm_ycomp_debug_new_irg(void *context, ir_graph *irg, ir_entity *ent) {
+static void firm_ycomp_debug_new_irg(void *context, ir_graph *irg,
+ ir_entity *ent)
+{
firm_ycomp_dbg_t *dbg = context;
char buf[SEND_BUF_SIZE];
+ (void) irg;
if (yy_dbg.has_data) {
send_cmd(dbg, "deleteGraph\n");
*/
static void firm_ycomp_debug_dead_node_elim(void *context, ir_graph *irg, int start) {
firm_ycomp_dbg_t *dbg = context;
+ (void) irg;
dbg->in_dead_node_elim = start != 0;
}
{
seqno_t e1 = (seqno_t)elt;
seqno_t e2 = (seqno_t)key;
+ (void) size;
return (e1->filename != e2->filename) | (e1->lineno - e2->lineno);
}