From: Michael Beck Date: Thu, 5 Feb 2004 08:59:22 +0000 (+0000) Subject: Make name constant X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=3d5d600bd60953ccc421c11aaea9e2841154c055;p=libfirm Make name constant [r2381] --- diff --git a/ir/ir/irop_t.h b/ir/ir/irop_t.h index 80fc0c157..c3b294988 100644 --- a/ir/ir/irop_t.h +++ b/ir/ir/irop_t.h @@ -25,11 +25,20 @@ struct ir_op { int pinned; /**< How to deal with the node in cse, pre. */ }; -/** create a new ir operation */ -ir_op * new_ir_op (opcode code, char *name, op_pinned p, +/** + * Create a new ir operation. + * + * @param code the opcode, one of type \c opcode + * @param name the printable name of this opcode + * @param p wheater operations of this opcode are pinned or floating + * @param labeled if set, output edge labels on in-edges in vcg graph wil be generated + * + * @return The genenerated ir operation. + */ +ir_op * new_ir_op (opcode code, const char *name, op_pinned p, int labeled, size_t attr_size); /** initialize the irop module */ void init_op (void); -#endif +#endif /* _IROP_T_H_ */