diff options
author | Jan Hubicka <jh@suse.cz> | 2008-09-11 14:31:40 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2008-09-11 12:31:40 +0000 |
commit | 825b2fe7a8e44594639db3d40253bd41380e05dc (patch) | |
tree | 296c5e6ccfe4c678c2b699ec0b3231ebade31b29 /gcc/cfglayout.c | |
parent | 11e0edad1f0ad67099daee3275ae095107352f9a (diff) | |
download | gcc-825b2fe7a8e44594639db3d40253bd41380e05dc.zip gcc-825b2fe7a8e44594639db3d40253bd41380e05dc.tar.gz gcc-825b2fe7a8e44594639db3d40253bd41380e05dc.tar.bz2 |
function.c (free_after_compilation): Call insn_locators_free.
* function.c (free_after_compilation): Call insn_locators_free.
* cfglayout.c (insn_locators_free): New function.
* rtl.h (insn_locators_free): Declare.
From-SVN: r140279
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r-- | gcc/cfglayout.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index e4049d6..b4ca49f 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -271,6 +271,19 @@ insn_locators_finalize (void) curr_rtl_loc = -1; } +/* Allocate insn locator datastructure. */ +void +insn_locators_free (void) +{ + prologue_locator = epilogue_locator = 0; + + VEC_free (int, heap, block_locators_locs); + VEC_free (tree,gc, block_locators_blocks); + VEC_free (int, heap, locations_locators_locs); + VEC_free (location_t, heap, locations_locators_vals); +} + + /* Set current location. */ void set_curr_insn_source_location (location_t location) |