From: Sebastian Buchwald Date: Wed, 25 May 2011 12:28:13 +0000 (+0200) Subject: Fixed some typos. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=aa2711d21433864eb3e8281bd24b41810a8b1230;p=libfirm Fixed some typos. --- diff --git a/include/libfirm/dbginfo.h b/include/libfirm/dbginfo.h index 479ae8f4c..19f95a7a5 100644 --- a/include/libfirm/dbginfo.h +++ b/include/libfirm/dbginfo.h @@ -81,7 +81,7 @@ typedef enum { dbg_read_a_const, /**< A Firm subgraph was replaced because of a read a constant optimization. */ dbg_rem_poly_call, /**< Remove polymorphic call. */ - dbg_dead_code, /**< Removing unreachable code, I.e. blocks that are never executed. */ + dbg_dead_code, /**< Removing unreachable code, i.e. blocks that are never executed. */ dbg_opt_confirm, /**< A Firm subgraph was replace because of a Confirmation. */ dbg_gvn_pre, /**< A Firm node was replace because of the GVN-PRE algorithm. */ dbg_combo, /**< A Firm node was replace because of the combo algorithm. */ diff --git a/ir/ana/vrp.c b/ir/ana/vrp.c index 66cefa396..b82d6e6fb 100644 --- a/ir/ana/vrp.c +++ b/ir/ana/vrp.c @@ -574,7 +574,7 @@ void set_vrp_data(ir_graph *irg) if (vrp_update_node(node)) { /* if something changed, add successors to worklist*/ - for (i = get_irn_n_outs(node) - 1; i >=0; --i) { + for (i = get_irn_n_outs(node) - 1; i >= 0; --i) { succ = get_irn_out(node, i); waitq_put(env->workqueue, node); } diff --git a/ir/opt/opt_blocks.c b/ir/opt/opt_blocks.c index 4ef148480..ed3b787bb 100644 --- a/ir/opt/opt_blocks.c +++ b/ir/opt/opt_blocks.c @@ -1074,7 +1074,7 @@ static void find_liveouts(ir_node *irn, void *ctx) } /* find_liveouts */ /** - * Check if the current block is the meet block of a its predecessors. + * Check if the current block is the meet block of its predecessors. */ static void check_for_cf_meet(ir_node *block, void *ctx) {