obstack access function
[libfirm] / testprograms / global_cse.c
index 025a8e3..9e7ba99 100644 (file)
@@ -43,7 +43,7 @@ main(void)
 
   printf("\nCreating an IR graph: GLOBAL_CSE_EXAMPLE...\n");
 
-  init_firm ();
+  init_firm (NULL);
 
   set_optimize(1);
   set_opt_constant_folding(1);
@@ -52,7 +52,7 @@ main(void)
   set_opt_dead_node_elimination (1);
 
 #define CLASSNAME "GLOBAL_CSE_EXAMPLE"
-#define METHODNAME "main"
+#define METHODNAME "GLOBAL_CSE_EXAMPLE_main"
 #define NRARGS 1
 #define NRES 1