aboutsummaryrefslogtreecommitdiff
path: root/gprof/cg_arcs.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-01 01:18:06 +0000
committerAlan Modra <amodra@gmail.com>2002-02-01 01:18:06 +0000
commitbde52789b2840efede7cba2971d8b174586018fc (patch)
treee8b4ffaad471f45f27e475e24cdf2c7f3d596546 /gprof/cg_arcs.c
parentd874f1e22527c1b95211222c110a137b0f50ec00 (diff)
downloadgdb-bde52789b2840efede7cba2971d8b174586018fc.zip
gdb-bde52789b2840efede7cba2971d8b174586018fc.tar.gz
gdb-bde52789b2840efede7cba2971d8b174586018fc.tar.bz2
* basic_blocks.c: Replace bool with boolean, TRUE with true and
FALSE with false 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. * hist.c: Likewise. * mips.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * sym_ids.h: Likewise. * symtab.h: Likewise. * tahoe.c: Likewise. * vax.c: Likewise. * gprof.h: Likewise. (TRUE): Don't define. (FALSE): Don't define.
Diffstat (limited to 'gprof/cg_arcs.c')
-rw-r--r--gprof/cg_arcs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gprof/cg_arcs.c b/gprof/cg_arcs.c
index 8369631..8ebaa7f 100644
--- a/gprof/cg_arcs.c
+++ b/gprof/cg_arcs.c
@@ -291,7 +291,7 @@ DEFUN_VOID (cycle_link)
++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 */
@@ -349,7 +349,7 @@ DEFUN (inherit_flags, (child), 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)
{
@@ -377,7 +377,7 @@ DEFUN (inherit_flags, (child), 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)
{
@@ -454,7 +454,7 @@ DEFUN (propagate_flags, (symbols), 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
@@ -467,7 +467,7 @@ DEFUN (propagate_flags, (symbols), 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)
@@ -603,7 +603,7 @@ DEFUN_VOID (cg_assemble)
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;