]> git.ipfire.org Git - thirdparty/gcc.git/commit
path solver: Merge path_range_query constructors.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 12 Nov 2021 08:06:55 +0000 (09:06 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Sat, 13 Nov 2021 10:45:31 +0000 (11:45 +0100)
commitdc777f6b0646fed2f18a580ce249cb6404f89205
tree0a9b090c4e3bfdecb0343487999d7781fd7b4c79
parent2f3d43a35155685b1795b4392e20e1c14a33c38f
path solver: Merge path_range_query constructors.

There's no need for two constructors, when we can do it all with one
that defaults to the common behavior:

path_range_query (bool resolve = true, gimple_ranger *ranger = NULL);

Tested on x86-64 Linux.

gcc/ChangeLog:

* gimple-range-path.cc (path_range_query::path_range_query): Merge
ctors.
(path_range_query::import_p): Move from header file.
(path_range_query::~path_range_query): Adjust for combined ctors.
* gimple-range-path.h: Merge ctors.
(path_range_query::import_p): Move to .cc file.
gcc/gimple-range-path.cc
gcc/gimple-range-path.h