projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6d709
)
Fixed wrong function type.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Tue, 17 Apr 2012 16:42:44 +0000
(18:42 +0200)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Tue, 17 Apr 2012 16:42:44 +0000
(18:42 +0200)
ir/opt/cfopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/cfopt.c
b/ir/opt/cfopt.c
index
278fbe3
..
b455993
100644
(file)
--- a/
ir/opt/cfopt.c
+++ b/
ir/opt/cfopt.c
@@
-239,8
+239,10
@@
non_dispensable:
* has only one predecessor with an unconditional jump to this block;
* and if this block does not contain any phis.
*/
-static void merge_blocks(ir_node *b)
+static void merge_blocks(ir_node *b
, void *env
)
{
+ (void) env;
+
if (get_Block_n_cfgpreds(b) == 1) {
ir_node* pred = get_Block_cfgpred(b, 0);
if (is_Jmp(pred)) {