This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove unnecessary VEC function overloads.
- From: Ian Lance Taylor <iant at google dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Sep 2012 22:01:33 -0700
- Subject: Re: Remove unnecessary VEC function overloads.
- References: <20120910235259.GA1721@google.com>
On Mon, Sep 10, 2012 at 4:52 PM, Diego Novillo <dnovillo@google.com> wrote:
>
> Ian, could you commit the changes in go/gofrontend?
Done. Actually, it looks like you already committed them, but I
brought the master repo up to date.
Ian
> 2012-09-10 Diego Novillo <dnovillo@google.com>
>
> * vec.h (vec_t::quick_push): Remove overload that accepts 'T *'.
> Update all users.
> (vec_t::safe_push): Likewise.
> (vec_t::quick_insert): Likewise.
> (vec_t::lower_bound): Likewise.
> (vec_t::safe_insert): Likewise.
> (vec_t::replace): Change second argument to 'T &'.