/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Christian Schaefer, Goetz Lindenmaier
-**
-** testprogram.
+* All rights reserved.
+*
+* Authors: Christian Schaefer, Goetz Lindenmaier
+*
+* testprogram.
*/
# include <stdio.h>
# include "firm.h"
/**
-*** This file constructs the ir for the following pseudo-program:
-***
-*** int main(int a) {
-*** int b = 2;
-*** if ( a == b )
-*** { a := a - 3; }
-***
-*** return a;
-*** }
+* This file constructs the ir for the following pseudo-program:
+*
+* int main(int a) {
+* int b = 2;
+* if ( a == b )
+* { a := a - 3; }
+*
+* return a;
+* }
**/
int
printf("\nCreating an IR graph: IF_EXAMPLE...\n");
- init_firm ();
+ init_firm (NULL);
#define CLASSNAME "IF_EXAMPLE"
-#define METHODNAME "main"
+#define METHODNAME "IF_EXAMPLE_main"
#define NRARGS 1
#define NRES 1