From 75473b0257a7c6c60c46bfd329b070529a12c03c Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Tue, 2 Nov 2004 17:59:46 +0000 Subject: cfgloop.h (struct loop): Update comment. * cfgloop.h (struct loop): Update comment. * cse.c (cse_main): Remove obsolete comment. * expr.h (gen_cond_trap): Move prototype under functions provided by optabs.c. (canonicalize_condition, get_condition): Move to... * rtl.h (canonicalize_condition, get_condition): ...here. (branch_target_load_optimize): Add comment that this function is in bt-load.c. * loop.c (canonicalize_condition, get_condition): Move to... * rtlanal.c (canonicalize_condition, get_condition): ...here. * sched-deps.c (get_condition): Rename to sched_get_condition. (add_dependence): Update this caller. From-SVN: r89995 --- gcc/sched-deps.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/sched-deps.c') diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index 1df1b47..ef53ea6 100644 --- a/gcc/sched-deps.c +++ b/gcc/sched-deps.c @@ -101,7 +101,7 @@ static void sched_analyze_1 (struct deps *, rtx, rtx); static void sched_analyze_2 (struct deps *, rtx, rtx); static void sched_analyze_insn (struct deps *, rtx, rtx, rtx); -static rtx get_condition (rtx); +static rtx sched_get_condition (rtx); static int conditions_mutex_p (rtx, rtx); /* Return nonzero if a load of the memory reference MEM can cause a trap. */ @@ -138,7 +138,7 @@ find_insn_list (rtx insn, rtx list) /* Find the condition under which INSN is executed. */ static rtx -get_condition (rtx insn) +sched_get_condition (rtx insn) { rtx pat = PATTERN (insn); rtx src; @@ -218,8 +218,8 @@ add_dependence (rtx insn, rtx elem, enum reg_note dep_type) be dependent. */ if (!CALL_P (insn) && !CALL_P (elem)) { - cond1 = get_condition (insn); - cond2 = get_condition (elem); + cond1 = sched_get_condition (insn); + cond2 = sched_get_condition (elem); if (cond1 && cond2 && conditions_mutex_p (cond1, cond2) /* Make sure first instruction doesn't affect condition of second -- cgit v1.1