[PATCH 05/18] make stores rtx_insn_list a vec
Segher Boessenkool
segher@kernel.crashing.org
Wed Apr 20 11:45:00 GMT 2016
On Wed, Apr 20, 2016 at 02:22:09AM -0400, tbsaunde+gcc@tbsaunde.org wrote:
> 2016-04-19 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
>
> * gcse.c (struct ls_expr): make stores field a vector.
Capital M.
> @@ -3604,7 +3604,7 @@ ldst_entry (rtx x)
> ptr->expr = NULL;
> ptr->pattern = x;
> ptr->pattern_regs = NULL_RTX;
> - ptr->stores = NULL;
> + ptr->stores .create (0);
Spaces.
> @@ -3620,7 +3620,7 @@ ldst_entry (rtx x)
> static void
> free_ldst_entry (struct ls_expr * ptr)
> {
> - free_INSN_LIST_list (& ptr->stores);
> + ptr->stores.release ();
Wrong indent.
Segher
More information about the Gcc-patches
mailing list