X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessadestr.c;h=571fbdff6ccdcc7c5fca9bd2ca039edae58f3227;hb=d300330b1e6df8c8914b8fb70cf38ee1c8ca2634;hp=6137ce4455f91b6c71abeafe3eb86c8eaef1ea54;hpb=edc739b393d7982e78a573d854113f47293c96b1;p=libfirm diff --git a/ir/be/bessadestr.c b/ir/be/bessadestr.c index 6137ce445..571fbdff6 100644 --- a/ir/be/bessadestr.c +++ b/ir/be/bessadestr.c @@ -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. * @@ -46,7 +46,6 @@ #include "belive_t.h" #include "benode_t.h" #include "besched_t.h" -#include "benodesets.h" #include "bestatevent.h" #include "beirg_t.h" #include "beintlive_t.h" @@ -139,9 +138,9 @@ static void insert_all_perms_walker(ir_node *bl, void *data) { * register class by construction. */ for(phi = get_irn_link(bl); phi; phi = get_irn_link(phi)) { - perm_proj_t templ; - ir_node *arg = get_irn_n(phi, i); - unsigned hash = nodeset_hash(arg); + ir_node *arg = get_irn_n(phi, i); + unsigned hash = hash_irn(arg); + perm_proj_t templ; if (arch_irn_is(chordal_env->birg->main_env->arch_env, arg, ignore)) continue; @@ -200,7 +199,7 @@ static void insert_all_perms_walker(ir_node *bl, void *data) { perm_proj_t templ; templ.arg = get_irn_n(phi, i); - pp = set_find(arg_set, &templ, sizeof(templ), nodeset_hash(templ.arg)); + pp = set_find(arg_set, &templ, sizeof(templ), hash_irn(templ.arg)); /* If not found, it was an interfering argument */ if (pp) {