added enum to fix arithmetics
[libfirm] / ir / ir / irprog.c
index 0c55579..95bd7f4 100644 (file)
@@ -1,9 +1,9 @@
 /* Copyright (C) 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Goetz Lindenmaier
-**
-** irprog.c: ir representation of a program
+* All rights reserved.
+*
+* Authors: Goetz Lindenmaier
+*
+* irprog.c: ir representation of a program
 */
 
 /* $Id$ */
@@ -163,7 +163,7 @@ void  set_irp_type(int pos, type *typ) {
 }
 
 #ifdef DEBUG_libfirm
-static int get_irp_new_node_nr() {
+int get_irp_new_node_nr() {
   assert(irp);
   irp->max_node_nr = irp->max_node_nr + 1;
   return irp->max_node_nr - 1;