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/reginfo.c | |
parent | 994ab8bb4b8a0ba60ddb3a669f510dd56d7ccae4 (diff) | |
download | gcc-tbsaunde/bitmap2.tar.gz |
move some bitmap functions to methodstbsaunde/bitmap2
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r-- | gcc/reginfo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 358d19d1c6b..53ee86e96b6 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -1214,8 +1214,8 @@ record_subregs_of_mode (rtx subreg, bitmap subregs_of_mode) if (regno < FIRST_PSEUDO_REGISTER) return; - if (bitmap_set_bit (subregs_of_mode, - regno * NUM_MACHINE_MODES + (unsigned int) mode)) + if (subregs_of_mode->set_bit + (regno * NUM_MACHINE_MODES + (unsigned int) mode)) { unsigned int rclass; for (rclass = 0; rclass < N_REG_CLASSES; rclass++) @@ -1223,8 +1223,7 @@ record_subregs_of_mode (rtx subreg, bitmap subregs_of_mode) regno * N_REG_CLASSES + rclass) && CANNOT_CHANGE_MODE_CLASS (PSEUDO_REGNO_MODE (regno), mode, (enum reg_class) rclass)) - bitmap_set_bit (invalid_mode_changes, - regno * N_REG_CLASSES + rclass); + invalid_mode_changes->set_bit (regno * N_REG_CLASSES + rclass); } } |