projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added walker for const code
[libfirm]
/
testprograms
/
if_else_example.c
diff --git
a/testprograms/if_else_example.c
b/testprograms/if_else_example.c
index
77a9bb5
..
89ef83d
100644
(file)
--- a/
testprograms/if_else_example.c
+++ b/
testprograms/if_else_example.c
@@
-7,7
+7,9
@@
*/
# include <stdio.h>
*/
# include <stdio.h>
+# include <string.h>
+# include "irvrfy.h"
# include "firm.h"
# include "irdump.h"
# include "firm.h"
# include "irdump.h"
@@
-126,9
+128,9
@@
int main(int argc, char **argv)
/* verify the graph */
irg_vrfy(irg);
/* verify the graph */
irg_vrfy(irg);
+ finalize_cons (irg);
printf("Done building the graph. Dumping it.\n");
printf("Done building the graph. Dumping it.\n");
- //dump_ir_graph (irg);
dump_ir_block_graph (irg);
printf("use xvcg to view this graph:\n");
printf("/ben/goetz/bin/xvcg GRAPHNAME\n\n");
dump_ir_block_graph (irg);
printf("use xvcg to view this graph:\n");
printf("/ben/goetz/bin/xvcg GRAPHNAME\n\n");