From: Christoph Mallon Date: Fri, 26 Sep 2008 17:11:10 +0000 (+0000) Subject: Fix comments. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=dd54d869ca245fdc03363ac301cd16873fb45f94;p=libfirm Fix comments. [r22299] --- diff --git a/ir/opt/ldstopt.c b/ir/opt/ldstopt.c index c77552ec3..3dd09b741 100644 --- a/ir/opt/ldstopt.c +++ b/ir/opt/ldstopt.c @@ -691,7 +691,7 @@ static ir_node *find_compound_ent_value(ir_node *ptr) { static void reduce_adr_usage(ir_node *ptr); /** - * Update a Load that may lost it's usage. + * Update a Load that may have lost its users. */ static void handle_load_update(ir_node *load) { ldst_info_t *info = get_irn_link(load); @@ -704,7 +704,7 @@ static void handle_load_update(ir_node *load) { ir_node *ptr = get_Load_ptr(load); ir_node *mem = get_Load_mem(load); - /* a Load which value is neither used nor exception checked, remove it */ + /* a Load whose value is neither used nor exception checked, remove it */ exchange(info->projs[pn_Load_M], mem); if (info->projs[pn_Load_X_regular]) exchange(info->projs[pn_Load_X_regular], new_r_Jmp(current_ir_graph, get_nodes_block(load))); @@ -714,7 +714,7 @@ static void handle_load_update(ir_node *load) { } /* handle_load_update */ /** - * A Use of an address node is vanished. Check if this was a Proj + * A use of an address node has vanished. Check if this was a Proj * node and update the counters. */ static void reduce_adr_usage(ir_node *ptr) { @@ -1125,7 +1125,7 @@ static unsigned optimize_load(ir_node *load) } /* The mem of the Load. Must still be returned after optimization. */ - mem = get_Load_mem(load); + mem = get_Load_mem(load); if (! info->projs[pn_Load_res] && ! info->projs[pn_Load_X_except]) { /* a Load which value is neither used nor exception checked, remove it */