projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e753342
)
Indentation, braces.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 11 Sep 2008 12:11:05 +0000
(12:11 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 11 Sep 2008 12:11:05 +0000
(12:11 +0000)
[r21846]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
a43b930
..
d7ab0b2
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-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);