projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[libfirm]
/
testprograms
/
three_cfpred_example.c
diff --git
a/testprograms/three_cfpred_example.c
b/testprograms/three_cfpred_example.c
index
ea9aea4
..
a6a15ca
100644
(file)
--- a/
testprograms/three_cfpred_example.c
+++ b/
testprograms/three_cfpred_example.c
@@
-72,7
+72,7
@@
int main(int argc, char **argv)
owner = get_glob_type();
proc_main = new_type_method(id_from_str(METHODNAME, strlen(METHODNAME)),
owner = get_glob_type();
proc_main = new_type_method(id_from_str(METHODNAME, strlen(METHODNAME)),
-
NRARGS, NRES);
+ NRARGS, NRES);
/** @@@ setting of arg/res types misses **/
ent = new_entity ((type *)owner,
id_from_str (METHODNAME, strlen(METHODNAME)),
/** @@@ setting of arg/res types misses **/
ent = new_entity ((type *)owner,
id_from_str (METHODNAME, strlen(METHODNAME)),
@@
-146,6
+146,8
@@
int main(int argc, char **argv)
/* verify the graph */
irg_vrfy(irg);
/* verify the graph */
irg_vrfy(irg);
+ dead_node_elimination(irg);
+
printf("Dumping the graph and a control flow graph.\n");
dump_ir_block_graph (irg);
dump_cfg (irg);
printf("Dumping the graph and a control flow graph.\n");
dump_ir_block_graph (irg);
dump_cfg (irg);