X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgmod.h;h=f3f77fe885b0dc6094d45f7cdbd4055f4e8fea37;hb=23ea16875f38dc0c067cce24f64b5c70f3acc496;hp=9bcf5325d2e93d2b12728f58ed014a03a87a3d5b;hpb=9d872b0bbfc6d238cb7b8590ed43cf172e994e16;p=libfirm diff --git a/ir/ir/irgmod.h b/ir/ir/irgmod.h index 9bcf5325d..f3f77fe88 100644 --- a/ir/ir/irgmod.h +++ b/ir/ir/irgmod.h @@ -18,12 +18,10 @@ * * @author Martin Trapp, Christian Schaefer */ +#ifndef _FIRM_IR_IRGMOD_H_ +#define _FIRM_IR_IRGMOD_H_ - -# ifndef _IRGMOD_H_ -# define _IRGMOD_H_ - -# include "irnode.h" +#include "firm_types.h" /** Exchanges two nodes by conserving edges leaving old (i.e., pointers pointing to old). Turns the old node into an Id. */ @@ -47,6 +45,7 @@ void turn_into_tuple (ir_node *node, int arity); * Further it collects all Proj nodes in a list of the node producing * the tuple. In case of nested tuples the Projs are collected in the * node producing the outermost Tuple. + * All other link fields are cleared afterwards. */ void collect_phiprojs(ir_graph *irg); @@ -69,4 +68,4 @@ void collect_phiprojs(ir_graph *irg); */ void part_block(ir_node *node); -#endif /* ifndef _IRGMOD_H_ */ +#endif /* ifndef _FIRM_IR_IRGMOD_H_ */