Commit e64f4f77 authored by Götz Lindenmaier's avatar Götz Lindenmaier
Browse files

*** empty log message ***

[r80]
parent c297eb8a
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.
......
......@@ -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 */
......
......@@ -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 ();
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment