From: Matthias Braun Date: Wed, 16 May 2007 17:22:01 +0000 (+0000) Subject: we should normalize to multiple returns (it's not working though) X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e77a29c77b0af1c2b8fcdc3284bb41c19bf98f01;p=libfirm we should normalize to multiple returns (it's not working though) [r13909] --- diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 0b772dfd4..fb84b22ce 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -312,8 +312,9 @@ static void initialize_birg(be_irg_t *birg, ir_graph *irg, be_main_env_t *env) /* Normalize proj nodes. */ normalize_proj_nodes(irg); - /* Make just one return node. */ - normalize_one_return(irg); + /* create multiple return nodes */ + /* TODO: find out why this does nothing */ + normalize_n_returns(irg); /* Remove critical edges */ remove_critical_cf_edges(irg);