X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firnode_t.h;h=f5050e934a5bfe4dc0122cfb86c42b4122b188a3;hb=637542932dc27dcdfc7def09b58d9d5d4c34fb77;hp=89d07632a26089a068b5916243e86d43b26e045b;hpb=23109436cde61d7f7aee343a9609df8e3715be6b;p=libfirm diff --git a/ir/ir/irnode_t.h b/ir/ir/irnode_t.h index 89d07632a..f5050e934 100644 --- a/ir/ir/irnode_t.h +++ b/ir/ir/irnode_t.h @@ -37,6 +37,7 @@ #include "entity_t.h" #include "type_t.h" #include "tv_t.h" +#include "irextbb_t.h" /** ir node attributes **/ @@ -65,6 +66,8 @@ typedef struct { @@@ @todo Ev. replace by bitfield! */ int *cg_backedge; /**< Field n set to true if pred n is interprocedural backedge. @@@ @todo Ev. replace by bitfield! */ + ir_extblk *extblk; /**< the extended basic block this block belongs to */ + } block_attr; /** Start attributes */ @@ -375,10 +378,10 @@ _get_irn_inter_n (const ir_node *node, int n) { assert(node); assert(-1 <= n && n < _get_irn_inter_arity(node)); /* handle Filter and Block specially */ - if (_get_irn_opcode(node) == iro_Filter) { + if (_get_irn_op(node) == op_Filter) { assert(node->attr.filter.in_cg); return (node->attr.filter.in_cg[n + 1] = skip_Id(node->attr.filter.in_cg[n + 1])); - } else if (_get_irn_opcode(node) == iro_Block && node->attr.block.in_cg) { + } else if (_get_irn_op(node) == op_Block && node->attr.block.in_cg) { return (node->attr.block.in_cg[n + 1] = skip_Id(node->attr.block.in_cg[n + 1])); } @@ -501,7 +504,7 @@ static INLINE op_pin_state _get_irn_pinned(const ir_node *node) { op_pin_state state; assert(node && _is_ir_node(node)); - state = __get_op_pinned(_get_irn_op(node)); + state = _get_op_pinned(_get_irn_op(node)); if (state >= op_pin_state_exc_pinned) return get_opt_fragile_ops() ? node->attr.except.pin_state : op_pin_state_pinned; return state;