added some name convetions
authorChristian Schäfer <schaefer@ipd.info.uni-karlsruhe.de>
Thu, 6 Jul 2000 14:26:12 +0000 (14:26 +0000)
committerChristian Schäfer <schaefer@ipd.info.uni-karlsruhe.de>
Thu, 6 Jul 2000 14:26:12 +0000 (14:26 +0000)
[r34]

ir/ir/ircons.c
ir/ir/irgwalk.c
ir/ir/irnode.c
ir/ir/irnode.h

index e2a3c34..7f43737 100644 (file)
@@ -753,7 +753,7 @@ new_Block (void)
   res = new_ir_node (current_ir_graph, NULL, op_Block, mode_R, -1, NULL);
   current_ir_graph->current_block = res;
   res->attr.block.matured = 0;
-  set_Block_block_visit(res, 0);
+  set_Block_block_visited(res, 0);
 
   /* forget this optimization. use this only if mature !!!!
   res = optimize (res); */
index 740758f..6310636 100644 (file)
@@ -56,8 +56,8 @@ void irg_block_walk_2(ir_node *node, void (pre)(ir_node*, void*),
 
   assert(get_irn_opcode(node) == iro_Block);
 
-  if(get_Block_block_visit(node) < get_irg_block_visited(current_ir_graph)) {
-    set_Block_block_visit(node, get_irg_block_visited(current_ir_graph));
+  if(get_Block_block_visited(node) < get_irg_block_visited(current_ir_graph)) {
+    set_Block_block_visited(node, get_irg_block_visited(current_ir_graph));
 
     if(pre)
       pre(node, env);
index cf68251..56c50c2 100644 (file)
@@ -369,15 +369,15 @@ set_Block_matured (ir_node *node, bool matured) {
   node->attr.block.matured = matured;
 }
 inline unsigned long
-get_Block_block_visit (ir_node *node) {
+get_Block_block_visited (ir_node *node) {
   assert (node->op == op_Block);
-  return node->attr.block.block_visit;
+  return node->attr.block.block_visited;
 }
 
 inline void
-set_Block_block_visit (ir_node *node, unsigned long visit) {
+set_Block_block_visited (ir_node *node, unsigned long visit) {
   assert (node->op == op_Block);
-  node->attr.block.block_visit = visit;
+  node->attr.block.block_visited = visit;
 }
 
 inline ir_node *
index 5ec881e..a848e22 100644 (file)
@@ -1,5 +1,3 @@
-
-
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
 ** All rights reserved.
 **
@@ -61,7 +59,7 @@ enum {
 /** ir node attributes **/
 /* Block attributes */
 typedef struct {
-  unsigned long block_visit;  /* for the walker that walks over all blocks. */
+  unsigned long block_visited;  /* for the walker that walks over all blocks. */
   /* Attributes private to construction: */
   bool matured;               /* if set, all in-nodes of the block are fixed */
   struct ir_node **graph_arr; /* array to store all parameters */