summaryrefslogtreecommitdiff
path: root/gcc/df-problems.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-05 00:48:49 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-05 00:48:49 +0000
commitebf6596d4cf1ad8515883542f9d036659193b1df (patch)
tree80485e03f16cd38adce475047bb96147c0b618b3 /gcc/df-problems.c
parent5e0651a85a5ac22f6833970bb68d8e403d1349f8 (diff)
downloadgcc-ebf6596d4cf1ad8515883542f9d036659193b1df.tar.gz
Update df_lr_bb_local_compute for embedded bitmaps.
2010-06-04 H.J. Lu <hongjiu.lu@intel.com> PR boostrap/44421 * df-problems.c (df_lr_bb_local_compute): Updated for embedded bitmaps. (df_byte_lr_bb_local_compute): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160305 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-problems.c')
-rw-r--r--gcc/df-problems.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/df-problems.c b/gcc/df-problems.c
index 89f1733c2c4..774cc9e2df6 100644
--- a/gcc/df-problems.c
+++ b/gcc/df-problems.c
@@ -903,7 +903,7 @@ df_lr_bb_local_compute (unsigned int bb_index)
df_ref use = *use_rec;
/* Add use to set of uses in this BB. */
if (DF_REF_FLAGS (use) & DF_REF_AT_TOP)
- bitmap_set_bit (bb_info->use, DF_REF_REGNO (use));
+ bitmap_set_bit (&bb_info->use, DF_REF_REGNO (use));
}
#endif
@@ -2712,7 +2712,7 @@ df_byte_lr_bb_local_compute (unsigned int bb_index)
unsigned int uregno = DF_REF_REGNO (use);
unsigned int start = problem_data->regno_start[uregno];
unsigned int len = problem_data->regno_len[uregno];
- bitmap_set_range (bb_info->use, start, len);
+ bitmap_set_range (&bb_info->use, start, len);
}
}
#endif