X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeuses.c;h=56108d3b35882a960c0e9dfcf37bff1ec4e72138;hb=6bb28287b0f135a4dda410e2caa974997a5c6a21;hp=d3b60126b44a5515dd57c9c583471e043d782e08;hpb=85f517eca982e6a4e1d1848eb67634ae33b70de9;p=libfirm diff --git a/ir/be/beuses.c b/ir/be/beuses.c index d3b60126b..56108d3b3 100644 --- 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 - * @version $Id$ */ #include "config.h" @@ -40,6 +39,7 @@ #include "irgraph_t.h" #include "iredges_t.h" #include "irdom_t.h" +#include "util.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) { - 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; @@ -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) { - node = get_edge_src_irn(edge); unsigned node_step; + node = get_edge_src_irn(edge); if (is_Anchor(node)) continue;