From: Christian Würdig Date: Wed, 21 Feb 2007 17:01:12 +0000 (+0000) Subject: added USES_PENDING X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=bbcab952705661d254a89f66c5841f05bdce402e;p=libfirm added USES_PENDING --- diff --git a/ir/be/beuses.h b/ir/be/beuses.h index 68f4b57f5..b69ddc106 100644 --- a/ir/be/beuses.h +++ b/ir/be/beuses.h @@ -20,12 +20,18 @@ typedef struct _be_next_use_t { } be_next_use_t; #define USES_INFINITY 10000000 +#define USES_PENDING 9999999 static INLINE int USES_IS_INFINITE(unsigned time) { return time >= USES_INFINITY; } +static INLINE int USES_IS_PENDING(unsigned time) +{ + return time == USES_PENDING; +} + typedef struct _be_uses_t be_uses_t; be_next_use_t be_get_next_use(be_uses_t *uses, ir_node *from,