This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use rtx_mode_t instead of std::make_pair
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at arm dot com
- Date: Wed, 16 Nov 2016 18:05:13 +0100
- Subject: Re: Use rtx_mode_t instead of std::make_pair
- Authentication-results: sourceware.org; auth=none
- References: <87vavnqsdt.fsf@e105548-lin.cambridge.arm.com>
On 11/16/2016 05:52 PM, Richard Sandiford wrote:
Using rtx_mode_t also abstracts away the representation. The fact that
it's a std::pair rather than a custom class isn't important to users of
the interface.
Looks borderline obvious to me. OK.
Bernd