PATCH for note_stores
Jeffrey A Law
law@cygnus.com
Sun Oct 31 23:33:00 GMT 1999
In message < 199910272012.NAA01063@adsl-206-170-148-33.dsl.snfc21.pacbell.net >
you write:
>
> As I've been working on various memory optimizations, I've been
> annoyed that note_stores doesn't provide any way of providing data
> down to the worker function. Makes for lots of lovely static
> variables all over the place.
>
> Here's a patch to allow a closure argument. I verified that this
> causes no measurable slowdown bootstrapping GCC.
I would have suggested a new function instead of replacing the old one since
note_stores might be called by unintegrated front-ends, backends, or
optimization passes. We don't want to break them without sufficient cause.
jeff
More information about the Gcc-patches
mailing list