projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- renamed access offset functions\n- renamed entity -> ir_entity
[libfirm]
/
testprograms
/
dead_block_example.c
diff --git
a/testprograms/dead_block_example.c
b/testprograms/dead_block_example.c
index
071dbd1
..
ddd6d98
100644
(file)
--- a/
testprograms/dead_block_example.c
+++ b/
testprograms/dead_block_example.c
@@
-93,7
+93,7
@@
int main(int argc, char **argv)
c2 = new_Const (mode_Is, new_tarval_from_long (2, mode_Is));
set_value(0, c2);
c2 = new_Const (mode_Is, new_tarval_from_long (2, mode_Is));
set_value(0, c2);
- cond = new_Cond(new_Proj(new_Cmp(c1, c2), mode_b, Eq));
+ cond = new_Cond(new_Proj(new_Cmp(c1, c2), mode_b,
pn_Cmp_
Eq));
f = new_Proj(cond, mode_X, 0);
t = new_Proj(cond, mode_X, 1);
mature_immBlock(get_irg_current_block(irg));
f = new_Proj(cond, mode_X, 0);
t = new_Proj(cond, mode_X, 1);
mature_immBlock(get_irg_current_block(irg));
@@
-134,7
+134,7
@@
int main(int argc, char **argv)
add_immBlock_pred (get_irg_end_block(irg), x);
mature_immBlock (get_irg_end_block(irg));
add_immBlock_pred (get_irg_end_block(irg), x);
mature_immBlock (get_irg_end_block(irg));
- finalize_cons (irg);
+
irg_
finalize_cons (irg);
printf("Optimizing ...\n");
local_optimize_graph (irg);
printf("Optimizing ...\n");
local_optimize_graph (irg);