From: Michael Beck Date: Sun, 18 Jan 2009 17:21:11 +0000 (+0000) Subject: - fixed typos X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e686761d48552d81f221998e344b13290c38b338;p=libfirm - fixed typos [r25243] --- diff --git a/ir/opt/opt_inline.c b/ir/opt/opt_inline.c index 1e33bfa85..26b0d6eef 100644 --- a/ir/opt/opt_inline.c +++ b/ir/opt/opt_inline.c @@ -861,17 +861,16 @@ int inline_method(ir_node *call, ir_graph *called_graph) { mtp = get_entity_type(ent); ctp = get_Call_type(call); if (get_method_n_params(mtp) > get_method_n_params(ctp)) { - /* this is a bad feature of C: without a prototype, we can can call a function with less - parameters than needed. Currently we don't support this, although it would be - to use Unknown than. */ + /* this is a bad feature of C: without a prototype, we can + * call a function with less parameters than needed. Currently + * we don't support this, although we could use Unknown than. */ return 0; } /* Argh, compiling C has some bad consequences: - the call type AND the method type might be different. - It is implementation defendant what happens in that case. - We support inlining, if the bitsize of the types matches AND - the same arithmetic is used. */ + * It is implementation dependent what happens in that case. + * We support inlining, if the bitsize of the types matches AND + * the same arithmetic is used. */ n_params = get_method_n_params(mtp); for (i = n_params - 1; i >= 0; --i) { ir_type *param_tp = get_method_param_type(mtp, i);