X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibfirm%2Firnode.h;h=a3f20b18f777f4e9ac478db461576453d1080963;hb=0c2e8bedc56cb9dba9b2544927a8093ddb7ee614;hp=8713c58eb2c406a6f1b7754acbf5e809df514921;hpb=99f23ed8dfa68ab6d96a4080e1d83fc8d4d68dd2;p=libfirm diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h index 8713c58eb..a3f20b18f 100644 --- a/include/libfirm/irnode.h +++ b/include/libfirm/irnode.h @@ -488,6 +488,17 @@ FIRM_API int is_x_except_Proj(const ir_node *node); */ 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);