X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fst%2Fexc.h;h=f2706649148f178ced755137fdf6fb9eaf231e48;hb=ad7ea5e733b5a62df40a954ff5acdb2131cc4ace;hp=9ab6910aad5d01394a969168c9f37deb5ec50b0c;hpb=0a2348cee51fb0a53d32c7733a3624993ff853b3;p=libfirm diff --git a/ir/st/exc.h b/ir/st/exc.h index 9ab6910aa..f27066491 100644 --- a/ir/st/exc.h +++ b/ir/st/exc.h @@ -1,14 +1,14 @@ /* Copyright (c) 2002 by Universität Karlsruhe (TH). All Rights Reserved */ /* -** Time-stamp: +* Time-stamp: */ -/*** +/** NAME exc PURPOSE Helper functions for exceptions - NOTES + S not quite complete HISTORY liekweg - Mar 4, 2002: Created. @@ -25,7 +25,7 @@ # include "irop.h" # include "irouts.h" -# include +#include typedef enum { exc_invalid = 0, /* not yet computed */ @@ -50,5 +50,17 @@ bool is_region_entry (ir_graph*, ir_node*); bool is_handler_block (ir_graph*, ir_node*); bool is_cont_entry (ir_graph*, ir_node*); +void set_Block_exc (ir_node*, exc_t); +exc_t get_Block_exc (ir_node*); + +void set_Node_exc (ir_node*, exc_t); +exc_t get_Node_exc (ir_node*); + +/* handler handling @@@ ajacs specific -- not supported */ +void set_Block_handler (ir_node*, ir_node*); +ir_node* get_Block_handler (ir_node*); + +void set_Node_handler (ir_node*, ir_node*); +ir_node* get_Node_handler (ir_node*); # endif /* def _EXC_H_ */