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]
Other format: [Raw text]

Re: [trans-mem] memory optimization pass


On 09/28/2009 09:58 AM, Aldy Hernandez wrote:
BTW, I could've released the obstack at the end of the pass, but it
seemed pointless since we use the bitmaps a region at a time.  If the
obstack initialize is too high a penalty for every region, we could
release the bitmaps at the end of the pass if you prefer.

Releasing the memory at the end of every region is fine. That said, I don't see that you release the memory at all.


r~



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