aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-17 11:23:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:06:10 -0700
commitb65b8dc1302cc334b14c3f532b7684db9c551a75 (patch)
treef9bdb540884fbf74062ed736e53f689e5324be02 /example.c
parentMake the argument storage setup be a bit more accurate. (diff)
downloadsparse-b65b8dc1302cc334b14c3f532b7684db9c551a75.tar.gz
sparse-b65b8dc1302cc334b14c3f532b7684db9c551a75.tar.bz2
sparse-b65b8dc1302cc334b14c3f532b7684db9c551a75.zip
Oops. Missed a place where we still tested for "busy" thinking that
it meant "contains a pseudo".
Diffstat (limited to 'example.c')
-rw-r--r--example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.c b/example.c
index 39ffe90..1927f3c 100644
--- a/example.c
+++ b/example.c
@@ -1408,7 +1408,7 @@ static void write_reg_to_storage(struct bb_state *state, struct hardreg *reg, ps
/* Try to find a non-busy register.. */
for (i = 0; i < REGNO; i++) {
out = hardregs + i;
- if (out->busy)
+ if (out->contains)
continue;
output_insn(state, "movl %s,%s", reg->name, out->name);
storage->type = REG_REG;