Use symbolic names instead of magic values for the position parameter of get_irn_n().
[libfirm] / ir / be / TEMPLATE / TEMPLATE_new_nodes.c
index 1f137cc..12778e9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -102,7 +102,7 @@ static void dump_reg_req(FILE *F, ir_node *n, const arch_register_req_t **reqs,
                                }
                        }
 
-                       if (reqs[i]->type & arch_register_req_type_should_be_different) {
+                       if (reqs[i]->type & arch_register_req_type_must_be_different) {
                                const unsigned other = reqs[i]->other_different;
                                int i;