From: Michael Beck Date: Tue, 25 Mar 2003 14:06:23 +0000 (+0000) Subject: equivalent_node() functions fixed, return was wrong X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=acbb0226e80c4e7ddf8ae8e219e23a585adb22dd;p=libfirm equivalent_node() functions fixed, return was wrong [r969] --- diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 8206591f1..840883274 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -448,7 +448,7 @@ equivalent_node (ir_node *n) ir_node *first_val = NULL; /* to shutup gcc */ ir_node *scnd_val = NULL; /* to shutup gcc */ - if (!get_opt_normalize()) return; + if (!get_opt_normalize()) return n; n_preds = get_Phi_n_preds(n);