This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: mark_set_resources only for SET_DESTs


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]