-/* create a new ir graph. Automatically sets the field irg of
- entity to the new ir graph. */
-ir_graph *new_ir_graph (entity *ent, int params);
-
+/* Create a new ir graph to built ir for a procedure.
+ ent is the entity representing this procedure, i.e., the type of the
+ entity must be type_method. The constructor automatically sets the
+ field irg of the entity to the new ir graph.
+ n_loc is the number of local variables in this procedure including
+ the procedure parameters. */
+ir_graph *new_ir_graph (entity *ent, int n_loc);