X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyheur.c;h=7c669b5e3fdca20b01075eea622774ce7a6ef62d;hb=ba52c5d1ccbf1f80e7cd7f11b7946914c56f3333;hp=3551dc761b76c961618903aa60058192f136c864;hpb=294764ce7bb590e7714ef1378d7eda9608dbef6e;p=libfirm diff --git a/ir/be/becopyheur.c b/ir/be/becopyheur.c index 3551dc761..7c669b5e3 100644 --- a/ir/be/becopyheur.c +++ b/ir/be/becopyheur.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. * @@ -114,7 +114,7 @@ static INLINE void qnode_add_conflict(const qnode_t *qn, const ir_node *n1, cons conflict_t c; DBG((dbg, LEVEL_4, "\t %+F -- %+F\n", n1, n2)); - if (get_irn_node_nr(n1) < get_irn_node_nr(n2)) { + if (get_irn_idx(n1) < get_irn_idx(n2)) { c.n1 = n1; c.n2 = n2; } else { @@ -133,7 +133,7 @@ static INLINE int qnode_are_conflicting(const qnode_t *qn, const ir_node *n1, co if (n1!=n2 && nodes_interfere(qn->ou->co->cenv, n1, n2)) return 1; /* search for recoloring conflicts */ - if (get_irn_node_nr(n1) < get_irn_node_nr(n2)) { + if (get_irn_idx(n1) < get_irn_idx(n2)) { c.n1 = n1; c.n2 = n2; } else {