Avoiding more warnings.
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Wed, 3 Jul 2002 14:49:24 +0000 (14:49 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Wed, 3 Jul 2002 14:49:24 +0000 (14:49 +0000)
[r431]

ir/common/common.h
ir/common/firm.c
ir/ir/irgmod.c
ir/ir/irgmod.h
ir/ir/irnode_t.h
ir/tr/tpop_t.h

index 8f400de..5af6fce 100644 (file)
@@ -12,6 +12,8 @@
 # ifndef _COMMON_H_
 # define _COMMON_H_
 
+#define INLINE inline
+
 /* a list of firm kinds */
 typedef enum {
   k_entity,
index 786d35d..3f1cd91 100644 (file)
 # include "firm.h"
 # include "mangle.h"
 # include "xp_help.h"
-# include "irnode_t.h"
 # include "tv_t.h"
+/* init functions are not public */
 # include "tpop_t.h"
+# include "irnode_t.h"
+# include "irmode_t.h"
 
 void
 init_firm (void)
@@ -44,8 +46,8 @@ init_firm (void)
   init_mangle ();
   /* initalize all op codes an irnode can consist of */
   init_op ();
-  /* called once for each run of this library, empty at this moment!!! */
-  init_cons ();
+  /* called once for each run of this library, empty right now... @@@!!!
+     init_cons (); */
   /* Builds a construct allowing to access all information to be constructed
      later. */
   init_irprog ();
index b9b8419..7aeb5ed 100644 (file)
@@ -45,14 +45,14 @@ turn_into_tuple (ir_node *node, int arity)
    Since `new' may be bigger than `old' replace `old'
    by an op_Id which is smaller than everything */
 inline void
-exchange (ir_node *old, ir_node *new)
+exchange (ir_node *old, ir_node *nw)
 {
   ir_node *block = old->in[0];
 
   old->op = op_Id;
   old->in = NEW_ARR_D (ir_node *, current_ir_graph->obst, 2);
   old->in[0] = block;
-  old->in[1] = new;
+  old->in[1] = nw;
 }
 
 /**********************************************************************/
index edacfca..3f4d202 100644 (file)
@@ -16,7 +16,7 @@
 /* Exchanges two nodes by conserving edges leaving old (i.e., pointers
    pointing to old).  Turns the old node into an Id. Requires that
    current_ir_graph is set properly. */
-inline void exchange (ir_node *old, ir_node *new);
+inline void exchange (ir_node *old, ir_node *nw);
 
 /* Turns a node into a "useless" Tuple.  The Tuple node just forms a tuple
    from several inputs.  The predecessors of the tuple have to be
index 53e0790..44056e1 100644 (file)
@@ -32,8 +32,8 @@ typedef struct {
                                 @@@ Eventually overlay with graph_arr as only valid
                                 in different phases.  Eventually inline the whole
                                 datastructure. */
-  exc_t exc;                                   /* role of this block for exception handling */
-  ir_node *handler_entry;              /* handler entry block iff this block is part of a region */
+  exc_t exc;                 /* role of this block for exception handling */
+  ir_node *handler_entry;     /* handler entry block iff this block is part of a region */
   ir_node ** in_cg;           /* array with predecessors in
                               * interprocedural_view, if they differ
                               * from intraprocedural predecessors */
index 2f8917c..be3cc7a 100644 (file)
@@ -1,8 +1,8 @@
 
 /* $Id$ */
 
-# ifndef _IROP_T_H_
-# define _IROP_T_H_
+# ifndef _TPOP_T_H_
+# define _TPOP_T_H_
 
 # include <stddef.h>
 # include "tpop.h"
@@ -85,4 +85,4 @@ void init_tpop (void);
  */
 int get_tpop_attr_size (tp_op *op);
 
-#endif /* _IROP_T_H_ */
+#endif /* _TPOP_T_H_ */