Indentation, braces.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 11 Sep 2008 12:11:05 +0000 (12:11 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 11 Sep 2008 12:11:05 +0000 (12:11 +0000)
[r21846]

ir/ir/iropt.c

index a43b930..d7ab0b2 100644 (file)
@@ -1863,10 +1863,11 @@ static int is_const_Phi(ir_node *n) {
 
        if (! is_Phi(n) || get_irn_arity(n) == 0)
                return 0;
-       for (i = get_irn_arity(n) - 1; i >= 0; --i)
+       for (i = get_irn_arity(n) - 1; i >= 0; --i) {
                if (! is_Const(get_irn_n(n, i)))
                        return 0;
-               return 1;
+       }
+       return 1;
 }  /* is_const_Phi */
 
 typedef tarval *(*tarval_sub_type)(tarval *a, tarval *b, ir_mode *mode);