This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 3 more debug hooks


On Tue, Aug 14, 2001 at 02:58:01PM -0700, Mark Mitchell wrote:
> It still seems cleaner to me to pass in the FILE*, rather than
> having to look in global (or thread-specific) data...

I don't.  I think its moderately annoying to have to pass around
yet another cookie everywhere.  There is a time and a place for
global data, and I think this is one of them.

Besides: asm_out_file is used in basically all of the backends,
and there we have no way to pass down an extra cookie.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]