projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added %= for printing a pn_Cmp value
[libfirm]
/
testprograms
/
memory_example.c
diff --git
a/testprograms/memory_example.c
b/testprograms/memory_example.c
index
21e54bc
..
1275825
100644
(file)
--- a/
testprograms/memory_example.c
+++ b/
testprograms/memory_example.c
@@
-132,7
+132,7
@@
main(void)
new_Cmp (
new_Const (mode_Iu, new_tarval_from_long (0, mode_Is)),
x),
new_Cmp (
new_Const (mode_Iu, new_tarval_from_long (0, mode_Is)),
x),
- mode_b, Gt));
+ mode_b,
pn_Cmp_
Gt));
/* build the cfg of the loop */
add_immBlock_pred (r, new_Proj (x, mode_X, 0));
/* build the cfg of the loop */
add_immBlock_pred (r, new_Proj (x, mode_X, 0));
@@
-155,7
+155,7
@@
main(void)
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");
dead_node_elimination(irg);
printf("Optimizing ...\n");
dead_node_elimination(irg);