X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibfirm%2Firnode.h;h=959403fec348ad2615bc832939b4c57e4aabdf8e;hb=ac384815dc66fb1846385515a19404ad89b897de;hp=99cc27dc3166eb1dc429afbe8337521464847155;hpb=65daf5bc390b02d68581f4c431dbdbfaae11b88f;p=libfirm diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h index 99cc27dc3..959403fec 100644 --- a/include/libfirm/irnode.h +++ b/include/libfirm/irnode.h @@ -420,12 +420,6 @@ FIRM_API ir_node *get_Call_param(const ir_node *node, int pos); /** Sets the call parameter at position pos. */ FIRM_API void set_Call_param(ir_node *node, int pos, ir_node *param); -/** - * Returns non-zero if a Call is surely a self-recursive Call. - * Beware: if this functions returns 0, the call might be self-recursive! - */ -FIRM_API int is_self_recursive_Call(const ir_node *call); - /** Set, get and remove the callee information for a Call node. * * The callee information lists all method entities that can be called @@ -478,6 +472,27 @@ FIRM_API void set_binop_left(ir_node *node, ir_node *left); FIRM_API ir_node *get_binop_right(const ir_node *node); FIRM_API void set_binop_right(ir_node *node, ir_node *right); +/** + * Test wether a node is the X_except Proj of a fragile operation + */ +FIRM_API int is_x_except_Proj(const ir_node *node); + +/** + * Test wether a node is the X_regular Proj of a fragile operation + */ +FIRM_API int is_x_regular_Proj(const ir_node *node); + +/** + * Set throws exception attribute of a fragile node + * @p throws_exception must be 0 or 1 + */ +FIRM_API void ir_set_throws_exception(ir_node *node, int throws_exception); + +/** + * Returns throws_exception attribute of a fragile node + */ +FIRM_API int ir_throws_exception(const ir_node *node); + /** returns the name of an ir_relation */ FIRM_API const char *get_relation_string(ir_relation relation);