allow character mode constants
[libfirm] / ir / be / beuses.h
index 68f4b57..5a63f95 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _BEUSES_H
 #define _BEUSES_H
 
-#include "bearch.h"
+#include "bearch_t.h"
 #include "belive.h"
 
 typedef struct _be_next_use_t {
@@ -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,