This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 01/50] Add rtl-iter.h
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, rdsandiford at googlemail dot com
- Date: Tue, 05 Aug 2014 12:19:18 -1000
- Subject: Re: [PATCH 01/50] Add rtl-iter.h
- Authentication-results: sourceware.org; auth=none
- References: <87y4v5d77q dot fsf at googlemail dot com> <87tx5td75d dot fsf at googlemail dot com>
On 08/03/2014 03:39 AM, Richard Sandiford wrote:
> +struct rtx_subrtx_bound_info {
> + unsigned char start;
> + unsigned char count;
> +};
Given this structure is only two bytes...
> + /* The bounds to use for iterating over subrtxes. */
> + const rtx_subrtx_bound_info *m_bounds;
... wouldn't it be better to pass by value instead of by reference?
r~