summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beuses.h
diff options
context:
space:
mode:
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2007-02-21 18:01:12 +0100
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>2007-02-21 18:01:12 +0100
commitbbcab952705661d254a89f66c5841f05bdce402e (patch)
tree54f4e02b9f9822a8dcf75b0e4e4ce0c3f9e0d9af /ir/be/beuses.h
parentdc22b2c54a1a69db0beaf6c61ac8589dfb7a9ac3 (diff)
added USES_PENDING
Diffstat (limited to 'ir/be/beuses.h')
-rw-r--r--ir/be/beuses.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir/be/beuses.h b/ir/be/beuses.h
index 68f4b57..b69ddc1 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,