]> git.ipfire.org Git - thirdparty/gcc.git/commit
Move get_bitmask_from_range out of irange class.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 19 Mar 2024 17:04:55 +0000 (18:04 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Sun, 28 Apr 2024 19:03:00 +0000 (21:03 +0200)
commit2caf7a50a6a9de80d2767d82b8cdb69d63469aaf
tree9685d0c7b01e293873a1cbc5a759b4c250c139fa
parent9a2f0d152d98dd55efc9accd07ea507b929c3516
Move get_bitmask_from_range out of irange class.

prange will also have bitmasks, so it will need to use get_bitmask_from_range.

gcc/ChangeLog:

* value-range.cc (get_bitmask_from_range): Move out of irange class.
(irange::get_bitmask): Call function instead of internal method.
* value-range.h (class irange): Remove get_bitmask_from_range.
gcc/value-range.cc
gcc/value-range.h