Added walker for const code
[libfirm] / testprograms / while_example.c
index df02e54..0a86f07 100644 (file)
@@ -6,9 +6,12 @@
 ** testprogram.
 */
 
+# include <stdio.h>
+# include <string.h>
+
+# include "irvrfy.h"
 # include "irdump.h"
 # include "firm.h"
-# include "irnode.h"
 
 /**
 ***  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");
-  turn_of_edge_labels();
+  turn_off_edge_labels();
   dump_all_types();
   dump_ir_block_graph (irg);
   printf("Use xvcg to view this graph:\n");