diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-11-25 10:28:01 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-11-25 10:28:01 +0000 |
commit | d0397fd9704cffd78f00ba2f74add6a46a4c3044 (patch) | |
tree | 8d65c5675dbbd95eb2d7da28869ef23844103971 /gcc/ra-build.c | |
parent | 04389919a6dbcb904c04ad910b4da49ff52d5d00 (diff) | |
download | gcc-d0397fd9704cffd78f00ba2f74add6a46a4c3044.zip gcc-d0397fd9704cffd78f00ba2f74add6a46a4c3044.tar.gz gcc-d0397fd9704cffd78f00ba2f74add6a46a4c3044.tar.bz2 |
bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
* 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.
From-SVN: r91280
Diffstat (limited to 'gcc/ra-build.c')
-rw-r--r-- | gcc/ra-build.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/ra-build.c b/gcc/ra-build.c index 20254ea..d4438dc 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); |