From 909ba29ec689920f4184b1b197b09fd49e451461 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 9 Sep 2008 09:19:06 +0000 Subject: [PATCH] Slightly reduce code duplication. [r21769] --- ir/ir/iropt.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 37b5b87d0..d9b296611 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -1219,16 +1219,15 @@ restart: goto restart; } /* else both are strict conv, second is superfluous */ - } else if (is_Proj(a)) { - ir_node *pred = get_Proj_pred(a); - if (is_Load(pred)) { - /* loads always return with the exact precision of n_mode */ - assert(get_Load_mode(pred) == n_mode); - return a; - } - /* leave strict floating point Conv's */ - return n; } else { + if (is_Proj(a)) { + ir_node *pred = get_Proj_pred(a); + if (is_Load(pred)) { + /* loads always return with the exact precision of n_mode */ + assert(get_Load_mode(pred) == n_mode); + return a; + } + } /* leave strict floating point Conv's */ return n; } -- 2.20.1