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); */
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);
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 *
-
-
/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
** All rights reserved.
**
/** 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 */