diff options
author | Trevor Saunders <tsaunders@mozilla.com> | 2013-11-18 22:36:34 -0500 |
---|---|---|
committer | Trevor Saunders <tsaunders@mozilla.com> | 2013-11-18 22:36:34 -0500 |
commit | 0c4d1ac58074fda4b63b62d4774ef6d2822c59fc (patch) | |
tree | 4441a04bc55e8f43bcf585457ea30f56c15ce837 /gcc/tree-predcom.c | |
parent | 994ab8bb4b8a0ba60ddb3a669f510dd56d7ccae4 (diff) | |
download | gcc-tbsaunde/bitmap2.tar.gz |
move some bitmap functions to methodstbsaunde/bitmap2
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r-- | gcc/tree-predcom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c index 39f5c3d8c90..15b600d815c 100644 --- a/gcc/tree-predcom.c +++ b/gcc/tree-predcom.c @@ -1172,7 +1172,7 @@ add_looparound_copies (struct loop *loop, chain_p chain) if (!phi) continue; - bitmap_set_bit (looparound_phis, SSA_NAME_VERSION (PHI_RESULT (phi))); + looparound_phis->set_bit (SSA_NAME_VERSION (PHI_RESULT (phi))); insert_looparound_copy (chain, ref, phi); } } @@ -1400,7 +1400,7 @@ predcom_tmp_var (tree ref, unsigned i, bitmap tmp_vars) /* We never access the components of the temporary variable in predictive commoning. */ tree var = create_tmp_reg (type, get_lsm_tmp_name (ref, i)); - bitmap_set_bit (tmp_vars, DECL_UID (var)); + tmp_vars->set_bit (DECL_UID (var)); return var; } |