summaryrefslogtreecommitdiffhomepage
path: root/ir/ana
diff options
context:
space:
mode:
authorRaphael von der GrĂ¼n <raphinesse@gmail.com>2016-05-17 17:36:35 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2016-06-14 10:42:03 +0200
commit0ac749142a7ae558e64b2121a24484b31a74dc7d (patch)
tree8d2d32807af9a106207130cb2be6d589b49e6ffd /ir/ana
parent33eddd215b6efffc6c31ec1b07973883bfe181e3 (diff)
Fix typos and language in some comments
Diffstat (limited to 'ir/ana')
-rw-r--r--ir/ana/analyze_irg_args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/ana/analyze_irg_args.c b/ir/ana/analyze_irg_args.c
index 16381da..4a966c2 100644
--- a/ir/ana/analyze_irg_args.c
+++ b/ir/ana/analyze_irg_args.c
@@ -245,9 +245,9 @@ enum args_weight {
};
/**
- * Compute the weight of a method parameter
+ * Computes the weight of a method parameter
*
- * @param arg The parameter them weight muss be computed.
+ * @param arg The parameter whose weight is to be computed.
*/
static unsigned calc_method_param_weight(ir_node *arg)
{
@@ -352,7 +352,7 @@ static void analyze_method_params_weight(ir_entity *ent)
size_t nparams = get_method_n_params(mtp);
ent->attr.mtd_attr.param_weight = NEW_ARR_F(unsigned, nparams);
- /* If the method haven't parameters we have nothing to do. */
+ /* If the method has no parameters, we have nothing to do */
if (nparams <= 0)
return;