diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-15 17:31:53 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-15 17:31:53 +0000 |
commit | 02a63053b9fa9c66722f2d53ee4e5deef83d3511 (patch) | |
tree | e1573613878dde2ab1ecb806e2e241c33c3464c0 /gcc/rtlanal.c | |
parent | 8b2afb7af5b6899d2f63fe0b1013bf0ae45c09ed (diff) | |
download | gcc-02a63053b9fa9c66722f2d53ee4e5deef83d3511.tar.gz |
* rtlanal.c (note_stores): Improve documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 3a26d8f490e..3cdb76a16bd 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1396,10 +1396,13 @@ reg_overlap_mentioned_p (rtx x, rtx in) } /* Call FUN on each register or MEM that is stored into or clobbered by X. - (X would be the pattern of an insn). - FUN receives two arguments: - the REG, MEM, CC0 or PC being stored in or clobbered, - the SET or CLOBBER rtx that does the store. + (X would be the pattern of an insn). DATA is an arbitrary pointer, + ignored by note_stores, but passed to FUN. + + FUN receives three arguments: + 1. the REG, MEM, CC0 or PC being stored in or clobbered, + 2. the SET or CLOBBER rtx that does the store, + 3. the pointer DATA provided to note_stores. If the item being stored in or clobbered is a SUBREG of a hard register, the SUBREG will be passed. */ |