projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0cfb3aa
)
set inputs of killed call ProjT to bad
author
Matthias Braun
<matze@braunis.de>
Fri, 9 Feb 2007 14:01:46 +0000
(14:01 +0000)
committer
Matthias Braun
<matze@braunis.de>
Fri, 9 Feb 2007 14:01:46 +0000
(14:01 +0000)
ir/be/beabi.c
patch
|
blob
|
history
diff --git
a/ir/be/beabi.c
b/ir/be/beabi.c
index
ae0ecbf
..
c0ce1e3
100644
(file)
--- 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);
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) {
/* Make additional projs for the caller save registers
and the Keep node which keeps them alive. */
if (pset_count(caller_save) > 0) {