Freeing memory for basic-blocks and edges

sean yang seanatpurdue@hotmail.com
Mon May 29 20:08:00 GMT 2006


I am looking for code that corresponds to freeing memory for BBs and Edges.

For example, I know to allocate a chunk of memory to hold BB information is 
done by "ggc_alloc_cleared()". But after a function analysis/optimization is 
done, the memory should be freed.  I tried to read code in 
rest_of_clean_state() in passes.c, which calls free_basic_block_vars(). But 
I did not see it actually free memory usage.

Can someone show me the procedure related to the above process?

Thanks,
Sean

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Gcc mailing list