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

moved methods

[r3998]
parent 3c1cd20d
......@@ -607,30 +607,6 @@ set_Block_graph_arr (ir_node *node, int pos, ir_node *value) {
node->attr.block.graph_arr[pos+1] = value;
}
/* handler handling for Blocks */
void
set_Block_handler (ir_node *block, ir_node *handler) {
assert ((block->op == op_Block));
assert ((handler->op == op_Block));
}
ir_node *
get_Block_handler (ir_node *block) {
assert ((block->op == op_Block));
return (NULL);
}
/* handler handling for Nodes */
void
set_Node_handler (ir_node *node, ir_node *handler) {
}
ir_node *
get_Node_handler (ir_node *node) {
return (NULL);
}
void set_Block_cg_cfgpred_arr(ir_node * node, int arity, ir_node ** in) {
assert(node->op == op_Block);
if (node->attr.block.in_cg == NULL || arity != ARR_LEN(node->attr.block.in_cg) - 1) {
......
......@@ -104,14 +104,38 @@ static bool is_cfg_jmp (ir_node *node)
}
#endif
void set_Block_exc(ir_node *n, ir_node *exc) {
void set_Block_exc(ir_node *n, exc_t exc) {
}
ir_node * get_Block_exc(ir_node *n) {
return NULL;
exc_t get_Block_exc(ir_node *n) {
return 0;
}
/* handler handling for Blocks */
void
set_Block_handler (ir_node *block, ir_node *handler) {
assert (is_Block(block));
assert (is_Block(handler));
}
ir_node *
get_Block_handler (ir_node *block) {
assert (is_Block(block));
return (NULL);
}
/* handler handling for Nodes */
void
set_Node_handler (ir_node *node, ir_node *handler) {
}
ir_node *
get_Node_handler (ir_node *node) {
return (NULL);
}
/*
Return true iff a new exception region must be left upon entry of this block.
......
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