projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2895bdb
)
Removed C99 feature, adapt to Firm coding conventions.
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 18 Feb 2011 22:22:29 +0000
(22:22 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 18 Feb 2011 22:22:29 +0000
(22:22 +0000)
[r28421]
ir/opt/opt_osr.c
patch
|
blob
|
history
diff --git
a/ir/opt/opt_osr.c
b/ir/opt/opt_osr.c
index
0f30193
..
c610164
100644
(file)
--- a/
ir/opt/opt_osr.c
+++ b/
ir/opt/opt_osr.c
@@
-1406,9
+1406,9
@@
static void fix_adds_and_subs(ir_node *irn, void *ctx)
if (mode_is_int(l_mode)) {
/* Usually, Sub(I*,P) is an error, hence the verifier rejects it.
* However, it is correct in this case, so add Conv to make verifier happy. */
if (mode_is_int(l_mode)) {
/* Usually, Sub(I*,P) is an error, hence the verifier rejects it.
* However, it is correct in this case, so add Conv to make verifier happy. */
- assert (mode_is_reference(r_mode));
ir_node *block = get_nodes_block(right);
ir_node *block = get_nodes_block(right);
- ir_node *lconv = new_r_Conv(block,left,r_mode);
+ ir_node *lconv = new_r_Conv(block, left, r_mode);
+ assert(mode_is_reference(r_mode));
set_Sub_left(irn, lconv);
}
}
set_Sub_left(irn, lconv);
}
}