From 117c2ec3449e8754d1ce2a02d21c7e4a9e367fc5 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 19 Oct 2007 20:06:27 +0000 Subject: [PATCH] use get_irn_ne() instead of (direct) call to get_irn_link() [r16291] --- ir/opt/opt_osr.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ir/opt/opt_osr.c b/ir/opt/opt_osr.c index 27d34e95d..e14eb1e38 100644 --- a/ir/opt/opt_osr.c +++ b/ir/opt/opt_osr.c @@ -498,7 +498,7 @@ static void classify_iv(scc *pscc, iv_env *env) { /* find the header block for this scc */ for (irn = pscc->head; irn; irn = next) { - node_entry *e = get_irn_link(irn); + node_entry *e = get_irn_ne(irn); ir_node *block = get_nodes_block(irn); next = e->next; @@ -598,7 +598,7 @@ fail: */ static void process_scc(scc *pscc, iv_env *env) { ir_node *head = pscc->head; - node_entry *e = get_irn_link(head); + node_entry *e = get_irn_ne(head); #ifdef DEBUG_libfirm { @@ -606,7 +606,7 @@ static void process_scc(scc *pscc, iv_env *env) { DB((dbg, LEVEL_4, " SCC at %p:\n ", pscc)); for (irn = pscc->head; irn; irn = next) { - node_entry *e = get_irn_link(irn); + node_entry *e = get_irn_ne(irn); next = e->next; @@ -675,7 +675,7 @@ static void remove_phi_cycle(scc *pscc, iv_env *env) { */ static void process_phi_only_scc(scc *pscc, iv_env *env) { ir_node *head = pscc->head; - node_entry *e = get_irn_link(head); + node_entry *e = get_irn_ne(head); #ifdef DEBUG_libfirm { @@ -683,7 +683,7 @@ static void process_phi_only_scc(scc *pscc, iv_env *env) { DB((dbg, LEVEL_4, " SCC at %p:\n ", pscc)); for (irn = pscc->head; irn; irn = next) { - node_entry *e = get_irn_link(irn); + node_entry *e = get_irn_ne(irn); next = e->next; -- 2.20.1