X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fcommon%2Firtools.h;h=2d9461158db77607950b1efb1586dc9887c4883a;hb=51eff1cc020af2ed56d9ea226fe20faf801cac5b;hp=32b92936225ab818a6cebf9a400bb302be42dbaf;hpb=9b0957659c22d223a11d75df3df3478b188850e2;p=libfirm diff --git a/ir/common/irtools.h b/ir/common/irtools.h index 32b929362..2d9461158 100644 --- a/ir/common/irtools.h +++ b/ir/common/irtools.h @@ -20,6 +20,8 @@ lc_opt_entry_t *firm_opt_get_root(void); #endif +#include "pset.h" + #undef MIN #undef MAX #define MAX(x, y) ((x) > (y) ? (x) : (y)) @@ -44,6 +46,11 @@ lc_opt_entry_t *firm_opt_get_root(void); */ #define PTR_TO_INT(v) ((int)((char *)(v) - (char *)0)) +/** + * Dump a pset containing Firm objects. + */ +void firm_pset_dump(pset *set); + /** * The famous clear_link() walker-function. * Do not implement it by yourself, use this one @@ -72,6 +79,6 @@ void copy_irn_to_irg(ir_node *n, ir_graph *irg); * @note If the copy is not changed, the next CSE operation will * replace it by the original, so beware. */ -ir_node *exact_copy(ir_node *n); +ir_node *exact_copy(const ir_node *n); #endif /* _FIRM_COMMON_IRTOOLS_H_ */