projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sparc: implement float->unsigned conversions
[libfirm]
/
ir
/
be
/
beuses.c
diff --git
a/ir/be/beuses.c
b/ir/be/beuses.c
index
d3b6012
..
56108d3
100644
(file)
--- a/
ir/be/beuses.c
+++ b/
ir/be/beuses.c
@@
-22,7
+22,6
@@
* @brief Methods to compute when a value will be used again.
* @author Sebastian Hack, Matthias Braun
* @date 27.06.2005
* @brief Methods to compute when a value will be used again.
* @author Sebastian Hack, Matthias Braun
* @date 27.06.2005
- * @version $Id$
*/
#include "config.h"
*/
#include "config.h"
@@
-40,6
+39,7
@@
#include "irgraph_t.h"
#include "iredges_t.h"
#include "irdom_t.h"
#include "irgraph_t.h"
#include "iredges_t.h"
#include "irdom_t.h"
+#include "util.h"
#include "be_t.h"
#include "beutil.h"
#include "be_t.h"
#include "beutil.h"
@@
-98,7
+98,7
@@
static const be_use_t *get_or_set_use_block(be_uses_t *env,
const ir_node *block,
const ir_node *def)
{
const ir_node *block,
const ir_node *def)
{
- unsigned hash =
HASH_COMBINE
(hash_irn(block), hash_irn(def));
+ unsigned hash =
hash_combine
(hash_irn(block), hash_irn(def));
be_use_t temp;
be_use_t* result;
be_use_t temp;
be_use_t* result;
@@
-238,8
+238,8
@@
static be_next_use_t get_next_use(be_uses_t *env, ir_node *from,
next_use_step = INT_MAX;
timestep = get_step(from);
foreach_out_edge(def, edge) {
next_use_step = INT_MAX;
timestep = get_step(from);
foreach_out_edge(def, edge) {
- node = get_edge_src_irn(edge);
unsigned node_step;
unsigned node_step;
+ node = get_edge_src_irn(edge);
if (is_Anchor(node))
continue;
if (is_Anchor(node))
continue;