From: Christoph Mallon Date: Mon, 27 Feb 2012 12:59:54 +0000 (+0100) Subject: Correct comments: pos must be < n_loc, not <=. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=34317397fba355b3288f92a5534bdacf86a723eb;p=libfirm Correct comments: pos must be < n_loc, not <=. --- diff --git a/include/libfirm/ircons.h b/include/libfirm/ircons.h index b378702d5..25a2915f8 100644 --- a/include/libfirm/ircons.h +++ b/include/libfirm/ircons.h @@ -891,7 +891,7 @@ FIRM_API ir_node *get_r_cur_block(ir_graph *irg); /** Returns the current value of a local variable. * * Use this function to obtain the last definition of the local variable - * associated with pos. Pos may not exceed the value passed as n_loc + * associated with pos. pos must be less than the value passed as n_loc * to new_ir_graph. This call automatically inserts Phi nodes. * * @param pos The position/id of the local variable. @@ -919,7 +919,7 @@ FIRM_API ir_mode *ir_r_guess_mode(ir_graph *irg, int pos); /** Remark a new definition of a variable. * * Use this function to remember a new definition of the value - * associated with pos. Pos may not exceed the value passed as n_loc + * associated with pos. pos must be less than the value passed as n_loc * to new_ir_graph. This call is needed to automatically inserts Phi * nodes. *