From d8663b3e6304db3bdcfd45c8f6c4487aa0cf49e2 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 25 Nov 2004 10:28:01 +0000 Subject: * bt-load.c (migrate_btr_defs): Remove unneeded NULL check. * df.c (df_free): Likewise. * ra-build.c (ra_build_free, ra_build_free_all): Likewise. * tree-ssa-loop-ivopts.c (set_use_iv_cost): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91280 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ra-build.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'gcc/ra-build.c') diff --git a/gcc/ra-build.c b/gcc/ra-build.c index 20254ea2e86..d4438dc9b59 100644 --- a/gcc/ra-build.c +++ b/gcc/ra-build.c @@ -3125,10 +3125,7 @@ ra_build_free (void) { struct tagged_conflict *cl; for (cl = web_parts[i].sub_conflicts; cl; cl = cl->next) - { - if (cl->conflicts) - BITMAP_XFREE (cl->conflicts); - } + BITMAP_XFREE (cl->conflicts); web_parts[i].sub_conflicts = NULL; } @@ -3154,10 +3151,7 @@ ra_build_free_all (struct df *df) { struct tagged_conflict *cl; for (cl = web_parts[i].sub_conflicts; cl; cl = cl->next) - { - if (cl->conflicts) - BITMAP_XFREE (cl->conflicts); - } + BITMAP_XFREE (cl->conflicts); web_parts[i].sub_conflicts = NULL; } sbitmap_free (live_over_abnormal); -- cgit v1.2.1