diff options
author | Richard Henderson <rth@redhat.com> | 2011-07-07 16:57:26 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-07-07 16:57:26 -0700 |
commit | a518b99616d4d007e289654332c934e7c3ec8d52 (patch) | |
tree | ee3ca739383122468e3b5200d2fd5d7d6e90662c /gcc/ChangeLog | |
parent | 89e25f958415ae1ae019e8f35398624b95c44f61 (diff) | |
download | gcc-a518b99616d4d007e289654332c934e7c3ec8d52.zip gcc-a518b99616d4d007e289654332c934e7c3ec8d52.tar.gz gcc-a518b99616d4d007e289654332c934e7c3ec8d52.tar.bz2 |
dwarf2out: Convert fde_table to a VEC.
Prepare for allocating the FDE for the current function earlier
than dwarf2out_begin_prologue.
* dwarf2out.c (fde_table, fde_table_allocated, fde_table_in_use,
FDE_TABLE_INCREMENT): Replace with...
(fde_vec): ... this, a new vector.
(current_fde): Remove. Replace all users with cfun->fde.
(output_call_frame_info): Use FOR_EACH_VEC_ELT over fde_vec.
(size_of_aranges, dwarf2out_finish): Likewise.
(dwarf2out_alloc_current_fde): Break out from ...
(dwarf2out_begin_prologue): ... here.
(dwarf2out_frame_init): Remove.
* dwarf2cfi.c: Update all users of current_fde.
(dwarf2out_frame_init): Rename from dwarf2cfi_frame_init.
* dwarf2out.h: Update decls.
(dw_fde_node): Add fde_index member.
* function.h (struct function): Add fde member.
From-SVN: r176018
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a3c7e19..3322697f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2011-07-07 Richard Henderson <rth@redhat.com> + + * dwarf2out.c (fde_table, fde_table_allocated, fde_table_in_use, + FDE_TABLE_INCREMENT): Replace with... + (fde_vec): ... this, a new vector. + (current_fde): Remove. Replace all users with cfun->fde. + (output_call_frame_info): Use FOR_EACH_VEC_ELT over fde_vec. + (size_of_aranges, dwarf2out_finish): Likewise. + (dwarf2out_alloc_current_fde): Break out from ... + (dwarf2out_begin_prologue): ... here. + (dwarf2out_frame_init): Remove. + * dwarf2cfi.c: Update all users of current_fde. + (dwarf2out_frame_init): Rename from dwarf2cfi_frame_init. + * dwarf2out.h: Update decls. + (dw_fde_node): Add fde_index member. + * function.h (struct function): Add fde member. + 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> Richard Henderson <rth@redhat.com> |