+static
+int mips_compare_attr(ir_node *node_a, ir_node *node_b)
+{
+ const mips_attr_t *a = get_mips_attr_const(node_a);
+ const mips_attr_t *b = get_mips_attr_const(node_b);
+
+ if(a->tv != b->tv)
+ return 1;
+ if(a->symconst != b->symconst)
+ return 1;
+ if(a->stack_entity != b->stack_entity)
+ return 1;
+ if(a->flags != b->flags)
+ return 1;
+ if(ARR_LEN(a->slots) != ARR_LEN(b->slots))
+ return 1;
+ if(a->switch_default_pn != b->switch_default_pn)
+ return 1;
+
+ return 0;