Commit 2e6ae27f by Diego Novillo Committed by Diego Novillo

cfg.c (check_bb_profile): Fix typos.


	* cfg.c (check_bb_profile): Fix typos.
	* function.c (assign_parm_is_stack_parm): Likewise.
	* tree-nested.c: Likewise.

From-SVN: r86457
parent d685c974
2004-08-23 Diego Novillo <dnovillo@redhat.com>
* cfg.c (check_bb_profile): Fix typos.
* function.c (assign_parm_is_stack_parm): Likewise.
* tree-nested.c: Likewise.
2004-08-23 Daniel Jacobowitz <dan@debian.org> 2004-08-23 Daniel Jacobowitz <dan@debian.org>
* ggc-zone.c (struc alloc_chunk): Rearrange flag bits and SIZE. * ggc-zone.c (struc alloc_chunk): Rearrange flag bits and SIZE.
......
...@@ -507,13 +507,13 @@ check_bb_profile (basic_block bb, FILE * file) ...@@ -507,13 +507,13 @@ check_bb_profile (basic_block bb, FILE * file)
sum += EDGE_FREQUENCY (e); sum += EDGE_FREQUENCY (e);
if (abs (sum - bb->frequency) > 100) if (abs (sum - bb->frequency) > 100)
fprintf (file, fprintf (file,
"Invalid sum of incomming frequencies %i, should be %i\n", "Invalid sum of incoming frequencies %i, should be %i\n",
sum, bb->frequency); sum, bb->frequency);
lsum = 0; lsum = 0;
for (e = bb->pred; e; e = e->pred_next) for (e = bb->pred; e; e = e->pred_next)
lsum += e->count; lsum += e->count;
if (lsum - bb->count > 100 || lsum - bb->count < -100) if (lsum - bb->count > 100 || lsum - bb->count < -100)
fprintf (file, "Invalid sum of incomming counts %i, should be %i\n", fprintf (file, "Invalid sum of incoming counts %i, should be %i\n",
(int) lsum, (int) bb->count); (int) lsum, (int) bb->count);
} }
} }
......
...@@ -2340,7 +2340,7 @@ static bool ...@@ -2340,7 +2340,7 @@ static bool
assign_parm_is_stack_parm (struct assign_parm_data_all *all, assign_parm_is_stack_parm (struct assign_parm_data_all *all,
struct assign_parm_data_one *data) struct assign_parm_data_one *data)
{ {
/* Trivially true if we've no incomming register. */ /* Trivially true if we've no incoming register. */
if (data->entry_parm == NULL) if (data->entry_parm == NULL)
; ;
/* Also true if we're partially in registers and partially not, /* Also true if we're partially in registers and partially not,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
The implementation here is much more direct. Everything that can be The implementation here is much more direct. Everything that can be
referenced by an inner function is a member of an explicitly created referenced by an inner function is a member of an explicitly created
structure herein called the "nonlocal frame struct". The incomming structure herein called the "nonlocal frame struct". The incoming
static chain for a nested function is a pointer to this struct in static chain for a nested function is a pointer to this struct in
the parent. In this way, we settle on known offsets from a known the parent. In this way, we settle on known offsets from a known
base, and so are decoupled from the logic that places objects in the base, and so are decoupled from the logic that places objects in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment