fixed indents
[libfirm] / ir / be / beuses_t.h
1
2 /**
3  * @file   beuses_t.h
4  * @date   27.06.2005
5  * @author Sebastian Hack
6  *
7  * Copyright (C) 2005 Universitaet Karlsruhe
8  * Released under the GPL
9  */
10
11 #ifndef _BEUSES_T_H
12 #define _BEUSES_T_H
13
14 #include "firm_config.h"
15
16 #include "beuses.h"
17
18 /**
19  * An association between a node and a point in time.
20  */
21 struct _loc_t {
22   ir_node *irn;  /**< A node. */
23   unsigned time;       /**< A time. */
24 };
25
26 #define LOC_IS_INFINITE(loc) USES_IS_INIFINITE((loc)->time)
27
28 /**
29  * Comparison function for locations.
30  * @param a The first location.
31  * @param b The second one.
32  * @return see qsort(3) for semantic of the compare functions.
33  */
34 int loc_compare(const void *loc1, const void *loc2);
35
36 #endif /* _BEUSES_T_H */