X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeuses.h;h=dc96d08b690f5375c975e8a5c4eeab7c8b4c9f58;hb=20aba3a7411997af46617a102d91cf05b2ebd8cb;hp=dac174f41191415bf13816310ab487a2979ad7c7;hpb=39f3a8dbd0f00f90b7b12a849d1bf7b9c1329479;p=libfirm diff --git a/ir/be/beuses.h b/ir/be/beuses.h index dac174f41..dc96d08b6 100644 --- a/ir/be/beuses.h +++ b/ir/be/beuses.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -27,25 +27,24 @@ #ifndef FIRM_BE_BEUSES_H #define FIRM_BE_BEUSES_H -#include "irgraph.h" -#include "irnode.h" - +#include "firm_types.h" #include "belive.h" typedef struct _be_next_use_t { - unsigned time; - int outermost_loop; + unsigned time; + int outermost_loop; + const ir_node *before; } be_next_use_t; #define USES_INFINITY 10000000 #define USES_PENDING 9999999 -static INLINE int USES_IS_INFINITE(unsigned time) +static inline int USES_IS_INFINITE(unsigned time) { return time >= USES_INFINITY; } -static INLINE int USES_IS_PENDING(unsigned time) +static inline int USES_IS_PENDING(unsigned time) { return time == USES_PENDING; }