diff options
author | 2005-02-07 16:30:34 -0700 | |
---|---|---|
committer | 2005-04-07 21:06:24 -0700 | |
commit | 6d7df190cf2a9a99da690236743b0792fe68b56c (patch) | |
tree | c53199f8a1bf600e9450dfc42b1531869f802c9b /simplify.c | |
parent | Remove old stale pointer dereference type mess, that (diff) | |
download | sparse-6d7df190cf2a9a99da690236743b0792fe68b56c.tar.gz sparse-6d7df190cf2a9a99da690236743b0792fe68b56c.tar.bz2 sparse-6d7df190cf2a9a99da690236743b0792fe68b56c.zip |
Fix typo (duplicate src2 should be src3) in simplify_range
Noted by Jeff Muizelaar
Diffstat (limited to 'simplify.c')
-rw-r--r-- | simplify.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -659,7 +659,7 @@ static int simplify_range(struct instruction *insn) src1 = insn->src1; src2 = insn->src2; src3 = insn->src3; - if (src2->type != PSEUDO_VAL || src2->type != PSEUDO_VAL) + if (src2->type != PSEUDO_VAL || src3->type != PSEUDO_VAL) return 0; if (is_in_range(src1, src2->value, src3->value)) { kill_instruction(insn); |