diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-11-02 10:00:09 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-11-02 10:00:09 +0000 |
commit | 7ef7b3459927ad613838df2353515d04539cd1d6 (patch) | |
tree | 200acd184e06dc1da5eab8d2d822871df1c7ea0b /gcc/df.c | |
parent | 55994078b6bc51ae62bd4117c6c335b94336137b (diff) | |
download | gcc-7ef7b3459927ad613838df2353515d04539cd1d6.zip gcc-7ef7b3459927ad613838df2353515d04539cd1d6.tar.gz gcc-7ef7b3459927ad613838df2353515d04539cd1d6.tar.bz2 |
bitmap.h (bitmap_and, [...]): Produce void.
* bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl,
bitmap_and_compl_into, bitmap_ior, bitmap_iot_into,
bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void.
(bitmap_ior_and_compl_into): Produce bool.
(bitmap_union_of_diff): Rename to ...
(bitmap_ior_and_compl): ... here. Produce bool.
* bitmap.c (bitmap_ior_and_compl_into): Return bool. Use
bitmap_operation directly.
(bitmap_union_of_diff): Rename to ...
(bitmap_ior_and_compl): ... here. Return bool, use
bitmap_operation directly.
* df.c (df_rd_transfer_function): Use bitmap_ior_and_compl.
(df_ru_transfer_function, df_lr_transfer_function): Likewise.
* global.c (modify_bb_reg_pav): Likewise.
From-SVN: r89982
Diffstat (limited to 'gcc/df.c')
-rw-r--r-- | gcc/df.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1588,7 +1588,7 @@ df_rd_transfer_function (int bb ATTRIBUTE_UNUSED, int *changed, void *in, void *out, void *gen, void *kill, void *data ATTRIBUTE_UNUSED) { - *changed = bitmap_union_of_diff (out, gen, in, kill); + *changed = bitmap_ior_and_compl (out, gen, in, kill); } @@ -1597,7 +1597,7 @@ df_ru_transfer_function (int bb ATTRIBUTE_UNUSED, int *changed, void *in, void *out, void *gen, void *kill, void *data ATTRIBUTE_UNUSED) { - *changed = bitmap_union_of_diff (in, gen, out, kill); + *changed = bitmap_ior_and_compl (in, gen, out, kill); } @@ -1606,7 +1606,7 @@ df_lr_transfer_function (int bb ATTRIBUTE_UNUSED, int *changed, void *in, void *out, void *use, void *def, void *data ATTRIBUTE_UNUSED) { - *changed = bitmap_union_of_diff (in, use, out, def); + *changed = bitmap_ior_and_compl (in, use, out, def); } |