aboutsummaryrefslogtreecommitdiff
path: root/gcc/df.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-11-25 10:28:01 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-11-25 10:28:01 +0000
commitd0397fd9704cffd78f00ba2f74add6a46a4c3044 (patch)
tree8d65c5675dbbd95eb2d7da28869ef23844103971 /gcc/df.c
parent04389919a6dbcb904c04ad910b4da49ff52d5d00 (diff)
downloadgcc-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/df.c')
-rw-r--r--gcc/df.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/df.c b/gcc/df.c
index 1cda8b8..07da6e5 100644
--- a/gcc/df.c
+++ b/gcc/df.c
@@ -580,12 +580,10 @@ df_free (struct df *df)
df->regs = 0;
df->reg_size = 0;
- if (df->bbs_modified)
- BITMAP_XFREE (df->bbs_modified);
+ BITMAP_XFREE (df->bbs_modified);
df->bbs_modified = 0;
- if (df->insns_modified)
- BITMAP_XFREE (df->insns_modified);
+ BITMAP_XFREE (df->insns_modified);
df->insns_modified = 0;
BITMAP_XFREE (df->all_blocks);