X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firnode_t.h;h=98f6352442a6c0397cffeaac5772ef32753eeafa;hb=581e5849ae58a13ab250626059da2abb506f24a6;hp=494b6ca92bf5bc0d12a41728d8d0ab587ecc3969;hpb=988039bf79a0d7648214f1b29f48b52cc8ca52c7;p=libfirm diff --git a/ir/ir/irnode_t.h b/ir/ir/irnode_t.h index 494b6ca92..98f635244 100644 --- a/ir/ir/irnode_t.h +++ b/ir/ir/irnode_t.h @@ -99,6 +99,14 @@ ir_op_ops *firm_set_default_get_type_attr(ir_opcode code, ir_op_ops *ops); */ ir_op_ops *firm_set_default_get_entity_attr(ir_opcode code, ir_op_ops *ops); +/** + * Returns an array with the predecessors of the Block. Depending on + * the implementation of the graph data structure this can be a copy of + * the internal representation of predecessors as well as the internal + * array itself. Therefore writing to this array might obstruct the IR. + */ +ir_node **get_Block_cfgpred_arr(ir_node *node); + /*-------------------------------------------------------------------*/ /* These function are most used in libfirm. Give them as static */ /* functions so they can be inlined. */