forked from Imagelibrary/binutils-gdb
Use bool in gprof
* basic_blocks.c: Replace bfd_boolean with bool, FALSE with false, and TRUE with true throughout. * basic_blocks.h: Likewise. * cg_arcs.c: Likewise. * cg_dfn.c: Likewise. * cg_print.c: Likewise. * corefile.c: Likewise. * gmon_io.c: Likewise. * gprof.c: Likewise. * gprof.h: Likewise. * hist.c: Likewise. * mips.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * sym_ids.h: Likewise. * symtab.h: Likewise. * vax.c: Likewise.
This commit is contained in:
@@ -308,7 +308,7 @@ cycle_link (void)
|
||||
++num;
|
||||
++cyc;
|
||||
sym_init (cyc);
|
||||
cyc->cg.print_flag = TRUE; /* should this be printed? */
|
||||
cyc->cg.print_flag = true; /* should this be printed? */
|
||||
cyc->cg.top_order = DFN_NAN; /* graph call chain top-sort order */
|
||||
cyc->cg.cyc.num = num; /* internal number of cycle on */
|
||||
cyc->cg.cyc.head = cyc; /* pointer to head of cycle */
|
||||
@@ -366,7 +366,7 @@ inherit_flags (Sym *child)
|
||||
if (child == head)
|
||||
{
|
||||
/* just a regular child, check its parents: */
|
||||
child->cg.print_flag = FALSE;
|
||||
child->cg.print_flag = false;
|
||||
child->cg.prop.fract = 0.0;
|
||||
for (arc = child->cg.parents; arc; arc = arc->next_parent)
|
||||
{
|
||||
@@ -394,7 +394,7 @@ inherit_flags (Sym *child)
|
||||
* Its a member of a cycle, look at all parents from outside
|
||||
* the cycle.
|
||||
*/
|
||||
head->cg.print_flag = FALSE;
|
||||
head->cg.print_flag = false;
|
||||
head->cg.prop.fract = 0.0;
|
||||
for (member = head->cg.cyc.next; member; member = member->cg.cyc.next)
|
||||
{
|
||||
@@ -471,7 +471,7 @@ propagate_flags (Sym **symbols)
|
||||
|| (syms[INCL_GRAPH].len == 0
|
||||
&& !sym_lookup (&syms[EXCL_GRAPH], child->addr)))
|
||||
{
|
||||
child->cg.print_flag = TRUE;
|
||||
child->cg.print_flag = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -484,7 +484,7 @@ propagate_flags (Sym **symbols)
|
||||
if (!sym_lookup (&syms[INCL_GRAPH], child->addr)
|
||||
&& sym_lookup (&syms[EXCL_GRAPH], child->addr))
|
||||
{
|
||||
child->cg.print_flag = FALSE;
|
||||
child->cg.print_flag = false;
|
||||
}
|
||||
}
|
||||
if (child->cg.prop.fract == 0.0)
|
||||
@@ -617,7 +617,7 @@ cg_assemble (void)
|
||||
parent->cg.prop.fract = 0.0;
|
||||
parent->cg.prop.self = 0.0;
|
||||
parent->cg.prop.child = 0.0;
|
||||
parent->cg.print_flag = FALSE;
|
||||
parent->cg.print_flag = false;
|
||||
parent->cg.top_order = DFN_NAN;
|
||||
parent->cg.cyc.num = 0;
|
||||
parent->cg.cyc.head = parent;
|
||||
|
||||
Reference in New Issue
Block a user