This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: mark_set_resources only for SET_DESTs
- To: Stan Cox <scox at cygnus dot com>
- Subject: Re: PATCH: mark_set_resources only for SET_DESTs
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 8 Mar 2000 14:33:59 -0800
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <200003011745.RAA07798@equinox.cygnus.com>
On Wed, Mar 01, 2000 at 05:45:05PM +0000, Stan Cox wrote:
> * resource.c (mark_set_resources): Change include_delayed_effects
> to mark_type and have the value 2 mean only consider SET_DESTs.
> * resource.h (MARK_SRC_DEST, MARK_SRC_DEST_CALL, MARK_DEST): New.
Ok, though an enumeration would be slightly better than a set of
defines, since the debugger knows about that.
> + /* The kinds of rtl mark_*_resources will consider */
> + #define MARK_SRC_DEST 0
> + #define MARK_SRC_DEST_CALL 1
> + #define MARK_DEST 2
I see you didn't update the existing uses of mark_set_resources to
use the new identifiers. Would you do that as well please?
r~