Directly call arch_get_register_req_out() instead of duplicating its Proj handling...
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 15 Oct 2008 10:15:50 +0000 (10:15 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 15 Oct 2008 10:15:50 +0000 (10:15 +0000)
[r22897]

ir/be/belower.c

index 160adaa..9a83855 100644 (file)
@@ -926,12 +926,7 @@ found_front:
                        break;
                if (arch_irn_is(node, modify_flags))
                        break;
-               if (is_Proj(node)) {
-                       req = arch_get_register_req(get_Proj_pred(node),
-                                                   -1 - get_Proj_proj(node));
-               } else {
-                       req = arch_get_register_req_out(node);
-               }
+               req = arch_get_register_req_out(node);
                if (req->type != arch_register_req_type_normal)
                        break;
                for (i = get_irn_arity(node) - 1; i >= 0; --i) {