/* True iff the two stmt lists load the same value from the packet into the accumulator.  */
static int eq_slist(struct slist *x, struct slist *y)
/* True iff the two stmt lists load the same value from the packet into the accumulator.  */
static int eq_slist(struct slist *x, struct slist *y)
{
	for (;;) {
		while (x && x->s.code == NOP)
			x = x->next;
		while (y && y->s.code == NOP)
			y = y->next;
		if (x == 0)
			return y == 0;
		if (y == 0)
			return x == 0;
		if (x->s.code != y->s.code || x->s.k != y->s.k)
			return 0;
		x = x->next;
		y = y->next;
	}
}