summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-12 18:41:44 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-12 18:41:44 +0000
commit26a649ddccaf9a826cec8011682d9c8ba59c75b7 (patch)
tree7684869ecfa82f014ed7d97b3a98896445b71089 /gcc/dwarf2out.h
parent68495d8b3a8ce57b26e4458503d349c3c2fc5582 (diff)
downloadgcc-26a649ddccaf9a826cec8011682d9c8ba59c75b7.tar.gz
PR target/49713
* dwarf2out.h (dwarf_frame_regnum): Remove. * dwarf2out.c (based_loc_descr): Revert last change. Initialize regno earlier from DWARF_FRAME_REGNUM. Never use dbx_reg_number. * dwarf2cfi.c (dw_stack_pointer_regnum, dw_frame_pointer_regnum): New. (execute_dwarf2_frame): Initialize them. (DW_STACK_POINTER_REGNUM, DW_FRAME_POINTER_REGNUM): Remove; replace users of the macros with the variables. (expand_builtin_dwarf_sp_column): Revert last change. (expand_builtin_init_dwarf_reg_sizes): Likewise. Compute the result of DWARF_FRAME_REGNUM into a local variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.h')
-rw-r--r--gcc/dwarf2out.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/dwarf2out.h b/gcc/dwarf2out.h
index 912a100153a..301321155a6 100644
--- a/gcc/dwarf2out.h
+++ b/gcc/dwarf2out.h
@@ -262,15 +262,6 @@ extern void dwarf2out_set_demangle_name_func (const char *(*) (const char *));
extern void dwarf2out_vms_debug_main_pointer (void);
#endif
-/* Unfortunately, DWARF_FRAME_REGNUM is not universally defined in such a
- way as to force an unsigned return type. Do that via inline wrapper. */
-
-static inline unsigned
-dwarf_frame_regnum (unsigned regnum)
-{
- return DWARF_FRAME_REGNUM (regnum);
-}
-
struct array_descr_info
{
int ndimensions;