This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Freeing memory for basic-blocks and edges
- From: "sean yang" <seanatpurdue at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 29 May 2006 20:07:59 +0000
- Subject: Freeing memory for basic-blocks and edges
- Bcc:
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/