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
/
while_example.c
diff --git
a/testprograms/while_example.c
b/testprograms/while_example.c
index
df02e54
..
0a86f07
100644
(file)
--- a/
testprograms/while_example.c
+++ b/
testprograms/while_example.c
@@
-6,9
+6,12
@@
** testprogram.
*/
** testprogram.
*/
+# include <stdio.h>
+# include <string.h>
+
+# include "irvrfy.h"
# include "irdump.h"
# include "firm.h"
# include "irdump.h"
# include "firm.h"
-# include "irnode.h"
/**
*** This file constructs the ir for the following pseudo-program:
/**
*** This file constructs the ir for the following pseudo-program:
@@
-123,7
+126,7
@@
main(void)
/* output the vcg file */
printf("Done building the graph. Dumping it.\n");
/* output the vcg file */
printf("Done building the graph. Dumping it.\n");
- turn_of_edge_labels();
+ turn_of
f
_edge_labels();
dump_all_types();
dump_ir_block_graph (irg);
printf("Use xvcg to view this graph:\n");
dump_all_types();
dump_ir_block_graph (irg);
printf("Use xvcg to view this graph:\n");