This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: regno_reg_rtx and related macros
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Subject: Re: regno_reg_rtx and related macros
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 18 Dec 1999 17:54:52 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <9912190157.AA23921@vlsi1.ultra.nyu.edu>
>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:
Richard> Yup. And, the old way meant that working on the code
Richard> required you to know more: namely the variables and the
Richard> places in various structs where they were squirrelled
Richard> away as we switched between functions.
Richard> No, you didn't need to "know" that since you could just
Richard> look at what's in the source and pass that to the
Richard> debugger.
I'm not talking about debuggin; I'm talking about coding. When
coding, as Bernd just explained, you had to know that things got
copied around, and what they were called in both places.
Richard> I agree with Bernd; expanding the macros in the
Richard> source is probably an improvement. Then you can
Richard> cut-and-paste things again. Of course, the things will
Richard> be longer.
Richard> Right and *that* has a cleanliness impact!
Sure it does. But, in my opinion, that negative impact is immensely
outweighed by all the other *positive* impacts from the change.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com