Commit bbcab952 authored by Christian Würdig's avatar Christian Würdig
Browse files

added USES_PENDING

parent dc22b2c5
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment