diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2008-05-27 18:43:57 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2008-05-27 11:43:57 -0700 |
commit | 3395aa0532ff98b73cc64ad83e8940c40e78acae (patch) | |
tree | 077b62bb717da97752961289720c6e3e10862a75 /gcc | |
parent | 3ce6e42e461067f768993ee50270b3d6f7cf50f8 (diff) | |
download | gcc-3395aa0532ff98b73cc64ad83e8940c40e78acae.zip gcc-3395aa0532ff98b73cc64ad83e8940c40e78acae.tar.gz gcc-3395aa0532ff98b73cc64ad83e8940c40e78acae.tar.bz2 |
dwarf2out.c (current_fde): Change return type to dw_fde_ref.
2008-05-27 H.J. Lu <hongjiu.lu@intel.com>
* dwarf2out.c (current_fde): Change return type to dw_fde_ref.
Moved to the front of file.
From-SVN: r136046
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b5fb98..92c82d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-05-27 H.J. Lu <hongjiu.lu@intel.com> + + * dwarf2out.c (current_fde): Change return type to dw_fde_ref. + Moved to the front of file. + 2008-05-27 Xuepeng Guo <xuepeng.guo@intel.com> H.J. Lu <hongjiu.lu@intel.com> diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 76df897..2113410 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -315,6 +315,14 @@ static GTY(()) unsigned fde_table_in_use; fde_table. */ #define FDE_TABLE_INCREMENT 256 +/* Get the current fde_table entry we should use. */ + +static inline dw_fde_ref +current_fde (void) +{ + return fde_table_in_use ? &fde_table[fde_table_in_use - 1] : NULL; +} + /* A list of call frame insns for the CIE. */ static GTY(()) dw_cfi_ref cie_cfi_head; @@ -633,14 +641,6 @@ dwarf2out_cfi_label (void) return label; } -/* Get the current fde_table entry we should use. */ - -static inline struct dw_fde_struct * -current_fde (void) -{ - return fde_table_in_use ? &fde_table[fde_table_in_use - 1] : NULL; -} - /* Add CFI to the current fde at the PC value indicated by LABEL if specified, or to the CIE if LABEL is NULL. */ |