Added walker for const code
[libfirm] / testprograms / if_else_example.c
index 77a9bb5..89ef83d 100644 (file)
@@ -7,7 +7,9 @@
 */
 
 # include <stdio.h>
+# include <string.h>
 
+# include "irvrfy.h"
 # include "firm.h"
 # include "irdump.h"
 
@@ -126,9 +128,9 @@ int main(int argc, char **argv)
 
   /* verify the graph */
   irg_vrfy(irg);
+  finalize_cons (irg);
 
   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");