[PATCH] Introduce class rtx_writer

Bernd Schmidt bschmidt@redhat.com
Wed Oct 26 14:12:00 GMT 2016

On 10/26/2016 04:10 PM, David Malcolm wrote:
> The following patch moves various global state in print-rtl.c into
> a new "rtx_writer" class, giving us a place to stash additional state
> relating to dumping (and the possibility of putting extra
> setup/cleanup in ctor/dtor).
> I didn't bother renaming the variables (e.g. converting "indent" to
> "m_indent"), to minimize churn, but I could do that also if you
> prefer.

I do like avoiding churn, but at the same time - our guidelines suggest 
that we name members with m_. So the patch is OK if you do the conversion.


More information about the Gcc-patches mailing list