aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-10 10:07:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:05:51 -0700
commit9ba43219929458c54a6ec737f5fd51ee5fb041ab (patch)
tree8fcd44be18e5b283c57748d7097232ad298200bc /liveness.c
parentRemove old pseudos from register list when we redefine one (diff)
downloadsparse-9ba43219929458c54a6ec737f5fd51ee5fb041ab.tar.gz
sparse-9ba43219929458c54a6ec737f5fd51ee5fb041ab.tar.bz2
sparse-9ba43219929458c54a6ec737f5fd51ee5fb041ab.zip
PHI pseudos aren't supposed to show up on the liveness
tracking. Make the asserts reflect that.
Diffstat (limited to 'liveness.c')
-rw-r--r--liveness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveness.c b/liveness.c
index fe1f1cc..ed37067 100644
--- a/liveness.c
+++ b/liveness.c
@@ -162,7 +162,7 @@ static void add_pseudo_exclusive(struct pseudo_list **list, pseudo_t pseudo)
static inline int trackable_pseudo(pseudo_t pseudo)
{
- return pseudo && (pseudo->type == PSEUDO_REG || pseudo->type == PSEUDO_PHI || pseudo->type == PSEUDO_ARG);
+ return pseudo && (pseudo->type == PSEUDO_REG || pseudo->type == PSEUDO_ARG);
}
static void insn_uses(struct basic_block *bb, struct instruction *insn, pseudo_t pseudo)