Commit dae26cfe authored by Matthias Braun's avatar Matthias Braun
Browse files

added a nodeset

[r8732]
parent 1620656c
...@@ -729,7 +729,7 @@ set_Block_matured(ir_node *node, int matured) { ...@@ -729,7 +729,7 @@ set_Block_matured(ir_node *node, int matured) {
} }
unsigned long unsigned long
(get_Block_block_visited)(ir_node *node) { (get_Block_block_visited)(const ir_node *node) {
return _get_Block_block_visited(node); return _get_Block_block_visited(node);
} }
...@@ -745,10 +745,15 @@ void ...@@ -745,10 +745,15 @@ void
} }
int int
(Block_not_block_visited)(ir_node *node) { (Block_not_block_visited)(const ir_node *node) {
return _Block_not_block_visited(node); return _Block_not_block_visited(node);
} }
int
(Block_block_visited)(const ir_node *node) {
return _Block_block_visited(node);
}
ir_node * ir_node *
get_Block_graph_arr (ir_node *node, int pos) { get_Block_graph_arr (ir_node *node, int pos) {
assert(node->op == op_Block); assert(node->op == op_Block);
......
...@@ -345,7 +345,7 @@ void set_Block_matured(ir_node *node, int matured); ...@@ -345,7 +345,7 @@ void set_Block_matured(ir_node *node, int matured);
/** A visited flag only for block nodes. /** A visited flag only for block nodes.
* @see also: get_irn_visited() inc_irg_visited() inc_irg_block_visited()*/ * @see also: get_irn_visited() inc_irg_visited() inc_irg_block_visited()*/
unsigned long get_Block_block_visited(ir_node *node); unsigned long get_Block_block_visited(const ir_node *node);
void set_Block_block_visited(ir_node *node, unsigned long visit); void set_Block_block_visited(ir_node *node, unsigned long visit);
/** /**
...@@ -357,7 +357,8 @@ int is_Block_dead(const ir_node *block); ...@@ -357,7 +357,8 @@ int is_Block_dead(const ir_node *block);
/* For this current_ir_graph must be set. */ /* For this current_ir_graph must be set. */
void mark_Block_block_visited(ir_node *node); void mark_Block_block_visited(ir_node *node);
int Block_not_block_visited(ir_node *node); int Block_not_block_visited(const ir_node *node);
int Block_block_visited(const ir_node *node);
/* Set and remove interprocedural predecessors. If the interprocedural /* Set and remove interprocedural predecessors. If the interprocedural
* predecessors are removed, the node has the same predecessors in * predecessors are removed, the node has the same predecessors in
......
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