From: Götz Lindenmaier Date: Wed, 20 Dec 2000 13:41:04 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e64f4f77b975dc8cf34a5eeb10b8f9752f0c8cf9;p=libfirm *** empty log message *** [r80] --- diff --git a/Changes b/Changes index 4b7095e9e..7fe57eae8 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,7 @@ + 20.12.2000 Goetz + external to declaration of irp + typedef before pns and pnc_number. + 18.12.2000 Goetz Changed parameter of Methods in type.h and type.c from class to clss. Class is a C++ keyword. diff --git a/ir/ir/irnode.h b/ir/ir/irnode.h index 3e9c6f0f0..b64def604 100644 --- a/ir/ir/irnode.h +++ b/ir/ir/irnode.h @@ -83,7 +83,7 @@ inline ir_node *get_nodes_Block (ir_node *node); inline void set_nodes_Block (ir_node *node, ir_node *block); /* Projection numbers for result of Start node: use for Proj nodes! */ -enum { +typedef enum { pns_initial_exec, /* Projection on an executable, the initial control flow. */ pns_global_store, /* Projection on the global store */ @@ -260,7 +260,7 @@ inline ir_node *get_Not_op (ir_node *node); inline void set_Not_op (ir_node *node, ir_node *op); /* Projection numbers of compare: use for Proj nodes! */ -enum { +typedef enum { False, /* false */ Eq, /* equal */ Lt, /* less */ diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 81e92e1e7..20973aeb9 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -12,6 +12,9 @@ #define GLOBAL_TYPE_NAME "GlobalType" +/* A variable from where everything in the ir can be accessed. */ +ir_prog *irp; + /* initializes ir_prog. Calles the constructor for an ir_prog. */ void init_irprog(void) { new_ir_prog (); diff --git a/ir/ir/irprog.h b/ir/ir/irprog.h index 166dfdbee..e0490ab23 100644 --- a/ir/ir/irprog.h +++ b/ir/ir/irprog.h @@ -42,7 +42,6 @@ typedef struct ir_prog ir_prog; /* A variable from where everything in the ir can be accessed. */ ir_prog *irp; - /* initializes ir_prog. Calles the constructor for an ir_prog. */ void init_irprog(void);