From: Michael Beck Date: Wed, 13 Dec 2006 13:17:18 +0000 (+0000) Subject: Fixed hash function calculation X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=14815978a62efbdba7a9a4f97d2868eadd505012;p=libfirm Fixed hash function calculation [r8439] --- diff --git a/ir/debug/firm_ycomp.c b/ir/debug/firm_ycomp.c index 66ded932b..0e9c09bd2 100644 --- a/ir/debug/firm_ycomp.c +++ b/ir/debug/firm_ycomp.c @@ -28,7 +28,7 @@ #define HASH_EDGE(edge) \ ((get_irn_node_nr((edge)->src) << 17) | \ ((get_irn_node_nr((edge)->tgt) & 0xEFFF) << 2) | \ - ((edge)->pos & 0x2)) + ((edge)->pos & 0x3)) typedef struct _exchange_node_outs_assoc_t { int n_out_edges;