Since variable names are not unique, and we like to make lots of
__retvals and assignment_tmps and a,b,c,d this helps in debugging.
cent, inv, mode[ir->mode], interp[ir->interpolation]);
print_type(ir->type);
- printf(" %s)", ir->name);
+ printf(" %s@%p)", ir->name, ir);
}
void ir_print_visitor::visit(ir_dereference_variable *ir)
{
- printf("(var_ref %s) ", ir->variable_referenced()->name);
+ ir_variable *var = ir->variable_referenced();
+ printf("(var_ref %s@%p) ", var->name, var);
}