From: Matthias Braun Date: Fri, 9 Feb 2007 14:01:46 +0000 (+0000) Subject: set inputs of killed call ProjT to bad X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=cb0a4fcb24b2b5dbc60033ad472a6e7245f646a1;p=libfirm set inputs of killed call ProjT to bad --- diff --git a/ir/be/beabi.c b/ir/be/beabi.c index ae0ecbf37..c0ce1e357 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -681,6 +681,11 @@ static ir_node *adjust_call(be_abi_irg_t *env, ir_node *irn, ir_node *curr_sp, i for (i = 0; res_projs[i]; ++i) set_Proj_pred(res_projs[i], low_call); + /* set the now unnecessary projT to bad */ + if(res_proj != NULL) { + set_Proj_pred(res_proj, new_Bad()); + } + /* Make additional projs for the caller save registers and the Keep node which keeps them alive. */ if (pset_count(caller_save) > 0) {