aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2012-01-31 19:11:00 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2012-01-31 19:11:00 +0000
commit35aebd56353ee7aec7a17155689dd473ee48ded4 (patch)
tree708bf63d2bd26659c34ffa475438467490e03be7 /gcc/function.h
parent218e1228c941cf0e1669610eaf33fdf5c010c3c0 (diff)
downloadgcc-35aebd56353ee7aec7a17155689dd473ee48ded4.zip
gcc-35aebd56353ee7aec7a17155689dd473ee48ded4.tar.gz
gcc-35aebd56353ee7aec7a17155689dd473ee48ded4.tar.bz2
function.h (regno_reg_rtx): Adjust comment.
gcc/ * function.h (regno_reg_rtx): Adjust comment. * reginfo.c (init_reg_modes_target): Only use the previous mode if it fits within one register. Remove MIPS comment. From-SVN: r183773
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/function.h b/gcc/function.h
index ce67add..5aaba74 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -87,10 +87,13 @@ struct GTY(()) emit_status {
};
-/* Indexed by pseudo register number, gives the rtx for that pseudo.
- Allocated in parallel with regno_pointer_align.
- FIXME: We could put it into emit_status struct, but gengtype is not able to deal
- with length attribute nested in top level structures. */
+/* Indexed by register number, gives an rtx for that register (and only
+ that register). For pseudo registers, it is the unique rtx for
+ that pseudo. For hard registers, it is an rtx of the mode specified
+ by reg_raw_mode.
+
+ FIXME: We could put it into emit_status struct, but gengtype is not
+ able to deal with length attribute nested in top level structures. */
extern GTY ((length ("crtl->emit.x_reg_rtx_no"))) rtx * regno_reg_rtx;