Introduce access_ref::merge_ref.
authorMartin Sebor <msebor@redhat.com>
Mon, 6 Dec 2021 16:23:22 +0000 (09:23 -0700)
committerMartin Sebor <msebor@redhat.com>
Thu, 9 Dec 2021 16:51:47 +0000 (09:51 -0700)
commit10d185b9845ad96edf45d55ca066a0258d3c3f9a
treea291395488c5f1fe2c52aa1bf08f7faa2839a8db
parent9354a7d70caef1c94b8d0a66bb2fd4d86c037e7d
Introduce access_ref::merge_ref.

gcc/ChangeLog:

* pointer-query.cc (access_ref::merge_ref): Define new function.
(access_ref::get_ref): Move code into merge_ref and call it.
* pointer-query.h (access_ref::merge_ref): Declare new function.
gcc/pointer-query.cc
gcc/pointer-query.h