diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-11 19:30:56 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-11 19:30:56 +0000 |
commit | 559e966b0d135d4c8ae5904d5cd206a2487f0fdd (patch) | |
tree | 265c21b5e028fad7b1f5c8a73b733d4ee8f96336 /gcc/dwarf2out.c | |
parent | 9b4d7ff5f3329137f5fef1c0702d76d80e86fcdc (diff) | |
download | gcc-559e966b0d135d4c8ae5904d5cd206a2487f0fdd.tar.gz |
* dwarf2cfi.c (DW_STACK_POINTER_REGNUM): New.
(DW_FRAME_POINTER_REGNUM): New.
(expand_builtin_init_dwarf_reg_sizes): Use unsigned for rnum.
(def_cfa_1): Do not convert reg to DWARF_FRAME_REGNUM here.
(dwf_regno): New.
(dwarf2out_flush_queued_reg_saves, dwarf2out_frame_debug_def_cfa,
dwarf2out_frame_debug_adjust_cfa, dwarf2out_frame_debug_cfa_register,
dwarf2out_frame_debug_cfa_expression, dwarf2out_frame_debug_expr):
Use it.
* dwarf2out.c (based_loc_descr): Use dwarf_frame_regnum.
* dwarf2out.h (dwarf_frame_regnum): New.
(struct cfa_loc): Document the domain of the reg member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176178 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index f9a1e70e580..835e4ecd884 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -10408,8 +10408,8 @@ based_loc_descr (rtx reg, HOST_WIDE_INT offset, } else if (!optimize && fde - && (fde->drap_reg == REGNO (reg) - || fde->vdrap_reg == REGNO (reg))) + && (fde->drap_reg == dwarf_frame_regnum (REGNO (reg)) + || fde->vdrap_reg == dwarf_frame_regnum (REGNO (reg)))) { /* Use cfa+offset to represent the location of arguments passed on the stack when drap is used to align stack. |