aboutsummaryrefslogtreecommitdiff
path: root/gcc/df.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-11-02 10:00:09 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-11-02 10:00:09 +0000
commit7ef7b3459927ad613838df2353515d04539cd1d6 (patch)
tree200acd184e06dc1da5eab8d2d822871df1c7ea0b /gcc/df.c
parent55994078b6bc51ae62bd4117c6c335b94336137b (diff)
downloadgcc-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/df.c b/gcc/df.c
index 818d92e..e479b96 100644
--- a/gcc/df.c
+++ b/gcc/df.c
@@ -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);
}