diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-27 18:43:57 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-27 18:43:57 +0000 |
commit | a3f1492363ddf83826552ab4de9265906a92b6d2 (patch) | |
tree | 077b62bb717da97752961289720c6e3e10862a75 /gcc/dwarf2out.c | |
parent | c0fd44c1006ae3e683002971d0b91c63b7f17834 (diff) | |
download | gcc-a3f1492363ddf83826552ab4de9265906a92b6d2.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136046 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 76df897edf9..2113410232c 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. */ |